|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use IndexReader | |
|---|---|
| gate.creole.annic.apache.lucene.index | Code to maintain and access indices. |
| gate.creole.annic.apache.lucene.search | Search over indices. |
| gate.creole.annic.lucene | |
| Uses of IndexReader in gate.creole.annic.apache.lucene.index |
|---|
| Subclasses of IndexReader in gate.creole.annic.apache.lucene.index | |
|---|---|
class |
FilterIndexReader
A FilterIndexReader contains another IndexReader, which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
class |
MultiReader
An IndexReader which reads multiple indexes, appending their content. |
| Fields in gate.creole.annic.apache.lucene.index declared as IndexReader | |
|---|---|
protected IndexReader |
FilterIndexReader.in
|
| Methods in gate.creole.annic.apache.lucene.index that return IndexReader | |
|---|---|
static IndexReader |
IndexReader.open(Directory directory)
Returns an IndexReader reading the index in the given Directory. |
static IndexReader |
IndexReader.open(File path)
Returns an IndexReader reading the index in an FSDirectory in the named path. |
static IndexReader |
IndexReader.open(String path)
Returns an IndexReader reading the index in an FSDirectory in the named path. |
| Methods in gate.creole.annic.apache.lucene.index with parameters of type IndexReader | |
|---|---|
void |
IndexWriter.addIndexes(IndexReader[] readers)
Merges the provided indexes into this index. |
| Constructors in gate.creole.annic.apache.lucene.index with parameters of type IndexReader | |
|---|---|
FilterIndexReader(IndexReader in)
Construct a FilterIndexReader based on the specified base reader. |
|
MultipleTermPositions(IndexReader indexReader,
Term[] terms)
Creates a new MultipleTermPositions instance. |
|
MultiReader(IndexReader[] subReaders)
Construct a MultiReader aggregating the named set of (sub)readers. |
|
| Uses of IndexReader in gate.creole.annic.apache.lucene.search |
|---|
| Methods in gate.creole.annic.apache.lucene.search with parameters of type IndexReader | |
|---|---|
abstract BitSet |
Filter.bits(IndexReader reader)
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not. |
Explanation |
Weight.explain(IndexReader reader,
int doc)
An explanation of the score computation for the named document. |
Object |
FieldCache.getAuto(IndexReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found reads field to see if it contains integers, floats
or strings, and then calls one of the other methods in this class to get the
values. |
Comparable[] |
FieldCache.getCustom(IndexReader reader,
String field,
SortComparator comparator)
Checks the internal cache for an appropriate entry, and if none is found reads the terms out of field and calls the given SortComparator
to get the sort values. |
float[] |
FieldCache.getFloats(IndexReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as floats and returns an array
of size reader.maxDoc() of the value each document
has in the given field. |
int[] |
FieldCache.getInts(IndexReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as integers and returns an array
of size reader.maxDoc() of the value each document
has in the given field. |
FieldCache.StringIndex |
FieldCache.getStringIndex(IndexReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found reads the term values in field and returns
an array of them in natural order, along with an array telling
which element in the term array each document uses. |
String[] |
FieldCache.getStrings(IndexReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found, reads the term values in field and returns an array
of size reader.maxDoc() containing the value each document
has in the given field. |
ScoreDocComparator |
SortComparator.newComparator(IndexReader reader,
String fieldname)
|
ScoreDocComparator |
SortComparatorSource.newComparator(IndexReader reader,
String fieldname)
Creates a comparator for the field in the given index. |
Query |
BooleanQuery.rewrite(IndexReader reader)
|
Query |
Query.rewrite(IndexReader reader)
Expert: called to re-write queries into primitive queries. |
Scorer |
Weight.scorer(IndexReader reader,
Searcher searcher)
Constructs a scorer for this. |
| Constructors in gate.creole.annic.apache.lucene.search with parameters of type IndexReader | |
|---|---|
IndexSearcher(IndexReader r)
Creates a searcher searching the provided index. |
|
| Uses of IndexReader in gate.creole.annic.lucene |
|---|
| Constructors in gate.creole.annic.lucene with parameters of type IndexReader | |
|---|---|
LuceneIndexSearcher(IndexReader r)
Creates a searcher searching the provided index. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||