: however, both of these can/will return fields that are not stored. is there
: a parameter that I can use to only return fields that are stored?
:
: there does not seem to be a IndexReader.FieldOption.STORED and cant tell if
: any of the others might work
At the level of this API, the IndexRea
Collection myFL =
searcher.getReader().getFieldNames(IndexReader.FieldOption.ALL);
will return all fields in the schema (i.e. index, stored, and
indexed+stored).
Collection myFL =
searcher.getReader().getFieldNames(IndexReader.FieldOption.INDEXED );
likely returns all fields that are indexed (I