Hey there,
is there a way to offset a subset of elements in my search-result if they
match a certain criteria?
Imagine the following: "find all but not the first 5 which have the
attribute "foo" set to true"?
i've created a gist here: https://gist.github.com/digitalkaoz/7827078
is this generally possible or am i doing it completly wrong?
Cheers
Robert
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5805012e-9571-438e-a7c0-bae53f2ea248%40googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
nik9000
(Nik Everett)
December 6, 2013, 5:10pm
2
What about from
in the request body search? You'll have to make sure
the sorting is consistent, though.
On Fri, Dec 6, 2013 at 11:51 AM, Robert Schoenthal seroscho@gmail.com wrote:
Hey there,
is there a way to offset a subset of elements in my search-result if they
match a certain criteria?
Imagine the following: "find all but not the first 5 which have the
attribute "foo" set to true"?
i've created a gist here: Elasticsearch Query Filtering... · GitHub
is this generally possible or am i doing it completly wrong?
Cheers
Robert
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5805012e-9571-438e-a7c0-bae53f2ea248%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2fYHLXwvvFbjLgFhdgd%2BW4UmzN2sP5iNFz_bpGAKi9pA%40mail.gmail.com .
For more options, visit https://groups.google.com/groups/opt_out .
But "from" only offsets the whole results. i want to offset only some
results which matches a query...
any other ideas?
Am Freitag, 6. Dezember 2013 18:10:11 UTC+1 schrieb Nikolas Everett:
What about from
in the request body search? You'll have to make
sure the sorting is consistent, though.
On Fri, Dec 6, 2013 at 11:51 AM, Robert Schoenthal <sero...@gmail.com <javascript:>
wrote:
Hey there,
is there a way to offset a subset of elements in my search-result if they
match a certain criteria?
Imagine the following: "find all but not the first 5 which have the
attribute "foo" set to true"?
i've created a gist here: Elasticsearch Query Filtering... · GitHub
is this generally possible or am i doing it completly wrong?
Cheers
Robert
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5805012e-9571-438e-a7c0-bae53f2ea248%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/aa119e0c-28b0-49e0-acd5-fe435eedddfd%40googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .