Elastic search source extraction

(Deepak Mehta) #1

We have query where we are excluding long text field "content" from query (including other 7-8 fields) but highlighting on "content" and "description" field ("content is excluded from source") . My question is how many time _source field will be fetched

  1. Only once
  2. Twice as once for fetching other fields and one more time to fetch content for highlighting as content in excluded from source.
  3. 3 times for fetching field, highlighting content and highlighting description.

To get more details on highlighting if someone can explain, How highlighting works internally?

(Deepak Mehta) #2

Waiting for comments from experts.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.