lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Boyd <andrew.b...@mindspring.com>
Subject No HighLights for Phrase Query
Date Fri, 13 May 2005 11:11:26 GMT
Hi,
  When I do a Phrase Query I do not get any highlights.  Here is my call

highlighter = new Highlighter(new QuerySocorer(query.rewrite(indexReader)))

highlighter.getBestFragments(tokenStream, body, numPreviews, ELIPSE);

I tried it with out the rewite but that didn't help.

Thanks,

Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message