Hi I did some performance comparison of the new Postings highlighter
introduced in 0.9.6-SNAPSHOT with the two existing highlighters.
My case may not be exactly common as I highlight many rather short fields:
out of total 47, about 15 have 10-20 words, 20 have 3-5 words and 12 are
single words (codes)
I need to highlight them all. In fact, I need to show list of fields with
matches.
Here is the stats for highlighting 400 documents (query size=400)
Plain: 450ms
FVH: 1160ms
Post: 150ms
Mix: 250ms (mix uses plain highlighter on all single word fields and
Postings on the rest)
Indexing speed increased by 20% when using Posting vs FVH and size
decreased by about 40%
so it looks like Postings highlighter works very well on many short fields
and FVH is not good for it at all - it is probably lot better on few long
fields but seems to be poor choice for many small ones.
What's your experience?
as a side note, i do not search on all the 47 fields I search on _all but
highlight individual fields so when I said I need to show list of matched
fields I meant it loosely - it is good enough just to show fields with
something to highlight rather than the ones were matched.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.