Documents are the unit of indexing and search.
A Document is a set of fields. Each field has a name and a textual value.
A field may be {@link Fieldable#IsStored() stored} with the document, in which
case it is returned with search hits on the document. Thus each document
should typically contain one or more stored fields which uniquely identify
it.
Note that fields which are
not {@link Fieldable#IsStored() stored} are
not available in documents retrieved from the index, e.g. with {@link
ScoreDoc#doc}, {@link Searcher#Doc(int)} or {@link
IndexReader#Document(int)}.
Namespace: Lucene.Net.DocumentsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Inheritance Hierarchy
See Also