The applications I work on needs processing and remodeling of data indexed in ES, which necessarily involves re-indexing of documents.
When such processing runs on an entire index, we use scroll along with scan search type and match_all query.
But when we need a processing re-run on selective documents, we use scroll with dfs_query_then_fetch search type and requirement specific term or range query.
I don't know why you are saying these can not be mixed. It does work, and it is working in my code from ES version 0.19.* onward. I actually revisited my code before posting this reply just to confirm my words.
On Monday, June 24, 2013 6:56:52 PM UTC+5:30, Alexander Reelsen wrote:
you cannot combine dfs search type with scroll request parameters. The scroll parameter only works if the search type is scan.
What are you trying to achieve by mixing these?
Sorry for repeated request, but I am still confused on this issue.
Am I doing something wrong in my query, or missing any additional parameter?
Thanks in advance,
On Friday, June 14, 2013 12:49:34 PM UTC+5:30, Sujoy Sett wrote:
One confusion about using search types in scroll ....
gives me the scroll ID and some hits. Why the hits are also getting returned in this step when using dfs_query_then_fetch instead of scan?
Tried using POST and not GET, but same results.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
For more options, visit https://groups.google.com/groups/opt_out.