On Thu, Jan 2, 2014 at 9:36 PM, Adolfo Rodriguez email@example.com:
Hi, I have some quite large documents (about 30k) and I want to get
only an *excerpt
of each document*, for example, 250 characters. It really does not matter
if they are the first 250 characters or a chunk in the middle. I would
prefer not doing it a client side to avoid these large documents moving in
the network. This thread looks very related.
Is there any progress on this (use a GET request) from March?
Can this be done with a preparedSearch or any other mechanism?
Looks something quite trivial to not have an easy response.
Highlighting can return an excerpt from the beginning of the document if it
doesn't find a match in the document. You can't do that with an HTTP GET.
You still have to POST the search with the right highlihting configuration.
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd288v0%2BDNe0UJwqntnbUOJG%2Bjfgsq%2B2hpogWrUKY_ZSbw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.