lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Difference between StoredField vs Other Fields with Field.Store.YES
Date Wed, 11 Mar 2015 11:32:04 GMT
> Is there a difference between using StoredField and using other types of
> fields with Field.Store.YES?

It will depend on what the other type of field is.  As the javadoc for
Field states, the xxxField classes are sugar.  If you are doing
standard things on standard data it's generally easier to use the
sugar classes, but if you need control you can build your own fields
however you like.

> Another question, Is it a good practise to use NumericDocValuesField
> instead of using usual Fields (IntField, LongField, StringField ...etc)
> with Field.Store.NO ?

Sorry, can't answer that.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message