(12/04/05 15:34), Thomas Werthmüller wrote:
Hi

I configured solr that also word parts are found. When is search "Monday"
or "Mond" the right document is found. This is done with the following
configuration in the schema.xml:<filter
class="solr.EdgeNGramFilterFactory" minGramSize="3" maxGramSize="30"/>.

Now, when I add hl=true to the query sting, the excerpt for "Monday" looks
good and the word is highlighted. When i search only with "Mond", the
document is found but no excerpt is returned because the query sting is not
the whole word.

I hope someone can give me a hint that also excerpts returned with word
parts.

Thanks!
Thomas

Hi Thomas,

Highlighter doesn't support N-gram field, I think. (Or does it support N-gram
field recently?) FastVectorHighlighter does support such fields but 
fixed-gram-size
only, e.g. minGramSize="3" maxGramSize="3".

koji
--
Query Log Visualizer for Apache Solr
http://soleami.com/

Reply via email to