| Package | Description |
|---|---|
| org.apache.lucene.ant | |
| org.apache.lucene.demo | |
| org.apache.lucene.index |
Code to maintain and access indices.
|
| org.apache.lucene.search |
Search over indices.
|
| Modifier and Type | Method and Description |
|---|---|
static Document |
HtmlDocument.Document(File file)
Creates a Lucene
Document from a File. |
static Document |
TextDocument.Document(File f)
Makes a document for a File.
|
Document |
DocumentHandler.getDocument(File file)
Gets the document attribute of the DocumentHandler object
|
Document |
FileExtensionDocumentHandler.getDocument(File file)
Gets the document attribute of the
FileExtensionDocumentHandler object
|
static Document |
HtmlDocument.getDocument(InputStream is)
Creates a Lucene
Document from an InputStream. |
| Modifier and Type | Method and Description |
|---|---|
static Document |
FileDocument.Document(File f)
Makes a document for a File.
|
static Document |
HTMLDocument.Document(File f) |
| Modifier and Type | Method and Description |
|---|---|
Document |
FilterIndexReader.document(int n) |
abstract Document |
IndexReader.document(int n)
Returns the stored fields of the
nth
Document in this index. |
Document |
MultiReader.document(int n) |
Document |
ParallelReader.document(int n) |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexModifier.addDocument(Document doc)
Adds a document to this index.
|
void |
IndexWriter.addDocument(Document doc)
Adds a document to this index.
|
void |
IndexModifier.addDocument(Document doc,
Analyzer docAnalyzer)
Adds a document to this index, using the provided analyzer instead of the
one specific in the constructor.
|
void |
IndexWriter.addDocument(Document doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the
value of
IndexWriter.getAnalyzer(). |
| Modifier and Type | Method and Description |
|---|---|
Document |
Hits.doc(int n)
Returns the stored fields of the nth document in this set.
|
Document |
IndexSearcher.doc(int i) |
Document |
MultiSearcher.doc(int n) |
Document |
RemoteSearchable.doc(int i) |
Document |
Searchable.doc(int i)
Expert: Returns the stored fields of document
i. |
abstract Document |
Searcher.doc(int i) |
Document |
Hit.getDocument()
Returns document for this hit.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.