lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw00d <markharw...@yahoo.co.uk>
Subject Re: highlighter highlights another term
Date Sun, 15 Apr 2007 21:56:02 GMT
See the Junit test example for field-sensitive highlighting.
If you pass a fieldname to the QueryScorer constructor it only considers 
query terms for that field - the default without is all fields

Cheers
Mark


---------------------------------------------------------------------
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