lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
Subject Re: Case Sensitivity
Date Thu, 28 Aug 2008 09:19:00 GMT

28 aug 2008 kl. 10.58 skrev Dino Korah:

> Document doc = new Document();
> Field f = new Field("body", bodyText, Field.Store.NO,
> Field.Index.TOKENIZED);
> f.setOmitNorms(true);
>
> Would that be equivalent to
>
> Document doc = new Document();
> Field f = new Field("body", bodyText,  
> Field.Store.NO ,Field.Index.NO_NORMS);
>
> And Field.Index.TOKENIZED has no effect after f.setOmitNorms(true); ?

Yes, those two have the same effect.


         karl

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