lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark harwood <markharw...@yahoo.co.uk>
Subject Re: No HighLights for Phrase Query
Date Fri, 13 May 2005 12:11:06 GMT
Are you sure that
1) Your tokenStream emits terms identical to those
produced by the query - a difference in choice of
analyzer will emit tokens which dont correspond for
the same text eg "dog"!="Dog"
2) Your "body" string represents the same text of the
field in the exact document which matched.

I'm not sure where you're getting "body" or
"tokenStream" from but as long as the above 2
conditions are true all should be well.

Cheers
Mark

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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