|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Document | |
---|---|
org.apache.lucene.ant | Ant task to create Lucene indexes. |
org.apache.lucene.benchmark.byTask.feeds | Sources for benchmark inputs: documents and queries. |
org.apache.lucene.benchmark.byTask.tasks | Extendable benchmark tasks. |
org.apache.lucene.benchmark.standard | |
org.apache.lucene.demo | |
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.search | Code to search indices. |
org.apache.lucene.search.highlight | The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages. |
org.apache.lucene.store.instantiated | InstantiatedIndex, alternative RAM store for small corpora. |
Uses of Document in org.apache.lucene.ant |
---|
Methods in org.apache.lucene.ant that return Document | |
---|---|
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 |
FileExtensionDocumentHandler.getDocument(File file)
Gets the document attribute of the FileExtensionDocumentHandler object |
Document |
DocumentHandler.getDocument(File file)
Gets the document attribute of the DocumentHandler object |
static Document |
HtmlDocument.getDocument(InputStream is)
Creates a Lucene Document from an InputStream . |
Uses of Document in org.apache.lucene.benchmark.byTask.feeds |
---|
Methods in org.apache.lucene.benchmark.byTask.feeds that return Document | |
---|---|
Document |
DocMaker.makeDocument()
Create the next document. |
Document |
LineDocMaker.makeDocument()
|
Document |
BasicDocMaker.makeDocument()
|
Document |
EnwikiDocMaker.makeDocument()
|
Document |
DocMaker.makeDocument(int size)
Create the next document, of the given size by input bytes. |
Document |
LineDocMaker.makeDocument(int size)
|
Document |
BasicDocMaker.makeDocument(int size)
|
Uses of Document in org.apache.lucene.benchmark.byTask.tasks |
---|
Methods in org.apache.lucene.benchmark.byTask.tasks that return Document | |
---|---|
protected Document |
SearchTravRetLoadFieldSelectorTask.retrieveDoc(IndexReader ir,
int id)
|
protected Document |
ReadTask.retrieveDoc(IndexReader ir,
int id)
|
Methods in org.apache.lucene.benchmark.byTask.tasks with parameters of type Document | |
---|---|
protected Collection |
SearchTravRetHighlightTask.getFieldsToHighlight(Document document)
|
protected Collection |
ReadTask.getFieldsToHighlight(Document document)
Define the fields to highlight. |
Uses of Document in org.apache.lucene.benchmark.standard |
---|
Methods in org.apache.lucene.benchmark.standard that return Document | |
---|---|
protected Document |
StandardBenchmarker.makeDocument(File in,
String[] tags,
boolean stored,
boolean tokenized,
boolean tfv)
Deprecated. Parse the Reuters SGML and index: Date, Title, Dateline, Body |
Uses of Document in org.apache.lucene.demo |
---|
Methods in org.apache.lucene.demo that return Document | |
---|---|
static Document |
HTMLDocument.Document(File f)
|
static Document |
FileDocument.Document(File f)
Makes a document for a File. |
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 |
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 |
ParallelReader.document(int n,
FieldSelector fieldSelector)
|
Methods in org.apache.lucene.index with parameters of type Document | |
---|---|
void |
IndexModifier.addDocument(Document doc)
Deprecated. Adds a document to this index. |
void |
IndexWriter.addDocument(Document doc)
Adds a document to this index. |
void |
IndexModifier.addDocument(Document doc,
Analyzer docAnalyzer)
Deprecated. 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() . |
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 |
Hits.doc(int n)
Deprecated. Returns the stored fields of the nth document in this set. |
abstract Document |
Searcher.doc(int i)
|
Document |
MultiSearcher.doc(int n)
|
Document |
Searchable.doc(int i)
Expert: Returns the stored fields of document i . |
Document |
IndexSearcher.doc(int i)
|
Document |
RemoteSearchable.doc(int i)
|
Document |
MultiSearcher.doc(int n,
FieldSelector fieldSelector)
|
Document |
Searchable.doc(int n,
FieldSelector fieldSelector)
Get the Document at the n th position. |
Document |
IndexSearcher.doc(int i,
FieldSelector fieldSelector)
|
Document |
RemoteSearchable.doc(int i,
FieldSelector fieldSelector)
|
Document |
Hit.getDocument()
Deprecated. Returns document for this hit. |
Uses of Document in org.apache.lucene.search.highlight |
---|
Methods in org.apache.lucene.search.highlight with parameters of type Document | |
---|---|
static TokenStream |
TokenSources.getAnyTokenStream(IndexReader reader,
int docId,
String field,
Document doc,
Analyzer analyzer)
A convenience method that tries to first get a TermPositionVector for the specified docId, then, falls back to using the passed in Document to retrieve the TokenStream. |
static TokenStream |
TokenSources.getTokenStream(Document doc,
String field,
Analyzer analyzer)
|
Uses of Document in org.apache.lucene.store.instantiated |
---|
Methods in org.apache.lucene.store.instantiated that return Document | |
---|---|
Document |
InstantiatedIndexReader.document(int n)
Returns the stored fields of the n th
Document in this index. |
Document |
InstantiatedIndexReader.document(int n,
FieldSelector fieldSelector)
Return the Document at the n th
position. |
Document |
InstantiatedDocument.getDocument()
|
Methods in org.apache.lucene.store.instantiated with parameters of type Document | |
---|---|
void |
InstantiatedIndexWriter.addDocument(Document doc)
Adds a document to this index. |
void |
InstantiatedIndexWriter.addDocument(Document doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the value of InstantiatedIndexWriter.getAnalyzer() . |
void |
InstantiatedIndexWriter.updateDocument(Term term,
Document doc)
|
void |
InstantiatedIndexWriter.updateDocument(Term term,
Document doc,
Analyzer analyzer)
|
Constructors in org.apache.lucene.store.instantiated with parameters of type Document | |
---|---|
InstantiatedDocument(Document document)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |