|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Document | |
---|---|
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.search | Code to search indices. |
Uses of Document in org.apache.lucene.index |
---|
Methods in org.apache.lucene.index that return Document | |
---|---|
Document |
IndexReader.document(int n)
Returns the stored fields of the n th
Document in this index. |
Document |
ParallelReader.document(int n,
FieldSelector fieldSelector)
|
Document |
MultiReader.document(int n,
FieldSelector fieldSelector)
|
Document |
FilterIndexReader.document(int n,
FieldSelector fieldSelector)
|
abstract Document |
IndexReader.document(int n,
FieldSelector fieldSelector)
Get the Document at the n
th position. |
Document |
SegmentReader.document(int n,
FieldSelector fieldSelector)
|
Methods in org.apache.lucene.index with parameters of type Document | |
---|---|
void |
IndexWriter.addDocument(Document doc)
Adds a document to this index. |
void |
IndexWriter.addDocument(Document doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the value of IndexWriter.getAnalyzer() . |
void |
IndexWriter.updateDocument(Term term,
Document doc)
Updates a document by first deleting the document(s) containing term and then adding the new
document. |
void |
IndexWriter.updateDocument(Term term,
Document doc,
Analyzer analyzer)
Updates a document by first deleting the document(s) containing term and then adding the new
document. |
Uses of Document in org.apache.lucene.search |
---|
Methods in org.apache.lucene.search that return Document | |
---|---|
Document |
MultiSearcher.doc(int n)
|
Document |
IndexSearcher.doc(int i)
|
Document |
Searchable.doc(int i)
Returns the stored fields of document i . |
abstract Document |
Searcher.doc(int i)
|
Document |
MultiSearcher.doc(int n,
FieldSelector fieldSelector)
|
Document |
IndexSearcher.doc(int i,
FieldSelector fieldSelector)
|
Document |
Searchable.doc(int n,
FieldSelector fieldSelector)
Get the Document at the n th position. |
abstract Document |
Searcher.doc(int docid,
FieldSelector fieldSelector)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |