I am running a pretty basic search such as this
email="firstname.lastname@example.org" OR email="email@example.com"
The job takes about 30 seconds to complete, but does not return results until the job is done.
Is there any way to get partial results of the running job with an api call?
Some call's i've tried that dont return the partial job results so far.
Just a guess, but what is your buckets value? It defaults to 0 for REST API calls, which makes the search job faster but prevents interactive results. Try setting it to a higher number (the UI uses 300, if I remember correctly.)
View solution in original post
Lowell, thanks i am getting better results with:
curl -k -u admin:changeme -d "search=search * &preview=1&status_buckets=300" https://server:port/services/search/jobs
The job seems to stay alive much longer