You must store the field for highlighting.

Jörg

On Tue, Sep 23, 2014 at 1:36 PM, Prashant Agrawal <
[email protected]> wrote:

> Hi Jorg/Nik,
>
> I tried the scenario like one with storing all fields and one without. So
> what i came across is
>
> -- The size of index is reduced as mentioned in preceding posts as well
> -- Search time for same query is slightly less with not storing the
> individual field
> -- But here I am getting an issue like I am not able to retrieve the
> content
> with highlight if I am using store:No for fields. So how I can overcome
> this
> issue without storing the field.
>
> Also its mentioned like : You can even highlight the content from _source
> forcefully by adding "force_source" : true as mentioned in below link. So
> any Idea how I can achieve that using not storing the fields.
>
>
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html#_force_highlighting_on_source
>
> ~Prashant
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/What-does-it-mean-to-store-a-field-tp3514176p4063906.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/1411472190705-4063906.post%40n3.nabble.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFA3OWZTqDy_JysqayH6K8JhqfC%2B0yspLvmGbza29mkAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to