Overload List

  NameDescription
Public methodGetFields()()()()
Returns a List of all the fields in a document.

Note that fields which are not {@link Fieldable#IsStored() stored} are not available in documents retrieved from the index, e.g. {@link Searcher#Doc(int)} or {@link IndexReader#Document(int)}.

Public methodGetFields(String)
Returns an array of {@link Field}s with the given name. Do not use with lazy loaded fields. This method returns an empty array when there are no matching fields. It never returns null.

See Also