Package | Description |
---|---|
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.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
Document |
DocMaker.makeDocument()
Creates a
Document object ready for indexing. |
Document |
SpatialDocMaker.makeDocument() |
Document |
DocMaker.makeDocument(int size)
Same as
DocMaker.makeDocument() , only this method creates a document of the
given size input by size . |
Document |
SpatialDocMaker.makeDocument(int size) |
Modifier and Type | Field and Description |
---|---|
protected Document |
AddDocTask.doc
volatile data passed between setup(), doLogic(), tearDown().
|
Modifier and Type | Method and Description |
---|---|
protected Document |
ReadTask.retrieveDoc(IndexReader ir,
int id) |
protected Document |
SearchTravRetLoadFieldSelectorTask.retrieveDoc(IndexReader ir,
int id) |
Modifier and Type | Method and Description |
---|---|
abstract int |
BenchmarkHighlighter.doHighlight(IndexReader reader,
int doc,
String field,
Document document,
Analyzer analyzer,
String text) |
protected Collection<String> |
ReadTask.getFieldsToHighlight(Document document)
Define the fields to highlight.
|
protected Collection<String> |
SearchTravRetVectorHighlightTask.getFieldsToHighlight(Document document) |
protected Collection<String> |
SearchTravRetHighlightTask.getFieldsToHighlight(Document document) |
protected PrintWriter |
WriteEnwikiLineDocTask.lineFileOut(Document doc) |
protected PrintWriter |
WriteLineDocTask.lineFileOut(Document doc)
Selects output line file by written doc.
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentStoredFieldVisitor.getDocument()
Retrieve the visited document.
|
Modifier and Type | Method and Description |
---|---|
Document |
FacetsConfig.build(Document doc)
Translates any added
FacetField s into normal fields for indexing;
only use this version if you did not add any taxonomy-based fields (
FacetField or AssociationFacetField ). |
Document |
FacetsConfig.build(TaxonomyWriter taxoWriter,
Document doc)
Translates any added
FacetField s into normal fields for indexing. |
Modifier and Type | Method and Description |
---|---|
Document |
FacetsConfig.build(Document doc)
Translates any added
FacetField s into normal fields for indexing;
only use this version if you did not add any taxonomy-based fields (
FacetField or AssociationFacetField ). |
Document |
FacetsConfig.build(TaxonomyWriter taxoWriter,
Document doc)
Translates any added
FacetField s into normal fields for indexing. |
Modifier and Type | Method and Description |
---|---|
protected Document |
BaseTermVectorsFormatTestCase.addId(Document doc,
String id) |
Document |
IndexReader.document(int docID)
Returns the stored fields of the
n th
Document in this index. |
Document |
IndexReader.document(int docID,
Set<String> fieldsToLoad)
Like
IndexReader.document(int) but only loads the specified
fields. |
Document |
BaseTermVectorsFormatTestCase.RandomDocument.toDocument() |
Modifier and Type | Method and Description |
---|---|
protected Document |
BaseTermVectorsFormatTestCase.addId(Document doc,
String id) |
protected void |
BaseCompoundFormatTestCase.addRandomFields(Document doc) |
protected void |
BaseFieldInfoFormatTestCase.addRandomFields(Document doc) |
protected void |
BaseNormsFormatTestCase.addRandomFields(Document doc) |
protected void |
BaseStoredFieldsFormatTestCase.addRandomFields(Document d) |
protected void |
BaseTermVectorsFormatTestCase.addRandomFields(Document doc) |
protected void |
BaseDocValuesFormatTestCase.addRandomFields(Document doc) |
protected void |
BaseSegmentInfoFormatTestCase.addRandomFields(Document doc) |
protected void |
BasePostingsFormatTestCase.addRandomFields(Document doc) |
Modifier and Type | Method and Description |
---|---|
Document |
IndexSearcher.doc(int docID)
Sugar for
.getIndexReader().document(docID) |
Document |
IndexSearcher.doc(int docID,
Set<String> fieldsToLoad)
Sugar for
.getIndexReader().document(docID, fieldsToLoad) |
Modifier and Type | Method and Description |
---|---|
static TokenStream |
TokenSources.getAnyTokenStream(IndexReader reader,
int docId,
String field,
Document document,
Analyzer analyzer)
Deprecated.
|
static TokenStream |
TokenSources.getTokenStream(Document doc,
String field,
Analyzer analyzer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected long |
DocumentDictionary.DocumentInputIterator.getWeight(Document doc,
int docId)
Returns the value of the
weightField for the current document. |
Modifier and Type | Method and Description |
---|---|
static Document |
TestUtil.cloneDocument(Document doc1) |
Document |
LineFileDocs.nextDoc()
Note: Document instance is re-used per-thread
|
Modifier and Type | Method and Description |
---|---|
static Document |
TestUtil.cloneDocument(Document doc1) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.