lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Green <>
Subject Highlighting parameters wiki
Date Tue, 27 Jul 2010 14:16:11 GMT
The wiki entry for hl.highlightMultiTerm:

doesn't appear to be correct.  It says:

If the SpanScorer is also being used, enables highlighting for
range/wildcard/fuzzy/prefix queries. Default is false.

But the code in DefaultSolrHighlighter (both on the 1.4 branch that
I'm using and in the trunk) does:

    Boolean highlightMultiTerm =
    if(highlightMultiTerm == null) {
      highlightMultiTerm = false;

which looks to me like like it's going to default to true, since
getBool will never return null, and if it gets a null value from the
parameters internally, it will return true.

Shall I file a Jira on this one?  Perhaps it's easier just to fix the Wiki page?

Stephen Green

View raw message