lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sirish Vadala <sirishre...@gmail.com>
Subject RE: Problem searching in the same sentence
Date Thu, 30 Sep 2010 21:06:49 GMT

I have tried the below code:

Field field = new Field(fieldName, validFieldValue,
	(store) ? Field.Store.YES : Field.Store.NO,
	(tokenize) ? Field.Index.ANALYZED : Field.Index.NOT_ANALYZED,
	Field.TermVector.WITH_POSITIONS_OFFSETS);

However, I still have the same problem. It doesn't return me the highlight
snippets. Any other hints would be highly appreciated.

Thanks.
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Problem-searching-in-the-same-sentence-tp1501269p1611118.html
Sent from the Lucene - Java Users mailing list archive at Nabble.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