Re: Difference between StoredField vs Other Fields with Field.Store.YES

2015-03-11 Thread Ian Lea
> 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

Difference between StoredField vs Other Fields with Field.Store.YES

2015-03-11 Thread Gimantha Bandara
Hi all, Is there a difference between using StoredField and using other types of fields with Field.Store.YES? Another question, Is it a good practise to use NumericDocValuesField instead of using usual Fields (IntField, LongField, StringField ...etc) with Field.Store.NO ? -- Gimantha Bandara Sof