Uses of Class
org.apache.lucene.document.Document
-
Packages that use Document Package Description 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 Modifier and Type Method Description DocumentFilterIndexReader. document(int n, FieldSelector fieldSelector)DocumentIndexReader. document(int n)Returns the stored fields of thenthDocumentin this index.abstract DocumentIndexReader. document(int n, FieldSelector fieldSelector)Get theDocumentat thenth position.DocumentMultiReader. document(int n, FieldSelector fieldSelector)DocumentParallelReader. document(int n, FieldSelector fieldSelector)DocumentSegmentReader. document(int n, FieldSelector fieldSelector)Methods in org.apache.lucene.index with parameters of type Document Modifier and Type Method Description voidFieldInfos. add(Document doc)Adds field info for a Document.voidIndexWriter. addDocument(Document doc)Adds a document to this index.voidIndexWriter. addDocument(Document doc, Analyzer analyzer)Adds a document to this index, using the provided analyzer instead of the value ofIndexWriter.getAnalyzer().voidIndexWriter. updateDocument(Term term, Document doc)Updates a document by first deleting the document(s) containingtermand then adding the new document.voidIndexWriter. updateDocument(Term term, Document doc, Analyzer analyzer)Updates a document by first deleting the document(s) containingtermand then adding the new document.Method parameters in org.apache.lucene.index with type arguments of type Document Modifier and Type Method Description voidIndexWriter. addDocuments(Collection<Document> docs)Atomically adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidIndexWriter. addDocuments(Collection<Document> docs, Analyzer analyzer)Atomically adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs)Atomically deletes documents matching the provided delTerm and adds a block of documents with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs, Analyzer analyzer)Atomically deletes documents matching the provided delTerm and adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents. -
Uses of Document in org.apache.lucene.search
Methods in org.apache.lucene.search that return Document Modifier and Type Method Description DocumentIndexSearcher. doc(int docID)DocumentIndexSearcher. doc(int docID, FieldSelector fieldSelector)DocumentMultiSearcher. doc(int n)Deprecated.DocumentMultiSearcher. doc(int n, FieldSelector fieldSelector)Deprecated.DocumentSearchable. doc(int i)Deprecated.Returns the stored fields of documenti.DocumentSearchable. doc(int n, FieldSelector fieldSelector)Deprecated.Get theDocumentat thenth position.abstract DocumentSearcher. doc(int i)Deprecated.abstract DocumentSearcher. doc(int docid, FieldSelector fieldSelector)Deprecated.Methods in org.apache.lucene.search with parameters of type Document Modifier and Type Method Description longNRTManager.TrackingIndexWriter. addDocument(Document d)longNRTManager.TrackingIndexWriter. addDocument(Document d, Analyzer a)longNRTManager.TrackingIndexWriter. updateDocument(Term t, Document d)longNRTManager.TrackingIndexWriter. updateDocument(Term t, Document d, Analyzer a)Method parameters in org.apache.lucene.search with type arguments of type Document Modifier and Type Method Description longNRTManager.TrackingIndexWriter. addDocuments(Collection<Document> docs)longNRTManager.TrackingIndexWriter. addDocuments(Collection<Document> docs, Analyzer a)longNRTManager.TrackingIndexWriter. updateDocuments(Term t, Collection<Document> docs)longNRTManager.TrackingIndexWriter. updateDocuments(Term t, Collection<Document> docs, Analyzer a)
-