The highlighter fails to match terms when performing a phrase or proximity search.

TODO:

  • check if same behaviour appears when performing such query using lucene syntax through an ordinary query call , e.g searcher.query("\"query terms\"~5");, instead of searcher.phraseQuery("query terms", 5);
  • check if there are specific circumstances (number of search fields, type of analyzer, combined queries, .. ?)
  • find out if it’s at least possible to match the terms from within the query instead of the whole phrase
Submitted by Elmer van Chastelet on 20 January 2012 at 16:54

On 20 January 2012 at 16:54 Elmer van Chastelet tagged search

On 20 January 2012 at 16:54 Elmer van Chastelet tagged error

On 20 August 2012 at 20:33 Elmer van Chastelet closed this issue.

On 20 August 2012 at 20:33 Elmer van Chastelet commented:

Seems to work fine.

Log in to post comments