lucene - what is the use of StringField.TYPE_NOT_STORED -
i trying understand different field options provided lucene, per knowledge lucene provide following field options
textfield.type_stored - analyzed & stored textfield.type_not_stored - analyzed & not stored stringfield.type_stored - not analyzed & stored stringfield.type_not_stored - not analyzed & not stored stringfield.type_not_stored -- fields not able search retrieve content. use of adding these type of fields lucene documents?
not analyzed doesn't mean won't searchable, means searched is. so, example if string token john, if search john won't able find it. won't apply analyzer/filter these field.
basically, type using not want have analyzers , not want retrieve it, id lookups or similar.
Comments
Post a Comment