Uses of Class org.apache.lucene.index.IndexReader

Uses in package org.apache.lucene.search

Constructors with parameter type org.apache.lucene.index.IndexReader

Empty prefix and minSimilarity of 0.5f are used.
FuzzyTermEnum.FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity)
This is the standard FuzzyTermEnum with an empty prefix.
FuzzyTermEnum.FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity, int prefixLength)
Constructor for enumeration of all terms from specified reader which share a prefix of length prefixLength with term and which have a fuzzy similarity > minSimilarity.
Creates a searcher searching the provided index.
Creates a new WildcardTermEnum.

Methods with parameter type org.apache.lucene.index.IndexReader

BitSet
BitSet
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
BitSet
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
BitSet
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.
FilteredTermEnum
Construct the enumeration to be used, expanding the pattern term.
FilteredTermEnum
Construct the enumeration to be used, expanding the pattern term.
FilteredTermEnum
Construct the enumeration to be used, expanding the pattern term.
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)
Creates a comparator for the field in the given index.
ScoreDocComparator
SortComparatorSource.newComparator(IndexReader reader, String fieldname)
Creates a comparator for the field in the given index.
Query
Expert: called to re-write queries into primitive queries.
Query
Rewrites the wrapped query.
Query
Expert: called to re-write queries into primitive queries.
Query
Expert: called to re-write queries into primitive queries.
Query
Expert: called to re-write queries into primitive queries.
Query
FIXME: Describe rewrite method here.
Scorer
Constructs a scorer for this.

Uses in package org.apache.lucene.search.spans

Methods with parameter type org.apache.lucene.index.IndexReader

Spans
Expert: Returns the matches for this query in an index.
Spans
Spans
Expert: Returns the matches for this query in an index.
Spans
Expert: Returns the matches for this query in an index.
Spans
Expert: Returns the matches for this query in an index.
Spans
Expert: Returns the matches for this query in an index.

Uses in package org.apache.lucene.index

Classes derived from org.apache.lucene.index.IndexReader

class
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
An IndexReader which reads multiple indexes, appending their content.

Constructors with parameter type org.apache.lucene.index.IndexReader

Construct a FilterIndexReader based on the specified base reader.
Construct a MultiReader aggregating the named set of (sub)readers.
Creates a new MultipleTermPositions instance.

Fields of type org.apache.lucene.index.IndexReader

IndexReader

Methods with parameter type org.apache.lucene.index.IndexReader

void
Merges the provided indexes into this index.

Methods with return type org.apache.lucene.index.IndexReader

IndexReader
IndexReader.open(File path)
Returns an IndexReader reading the index in an FSDirectory in the named path.
IndexReader
IndexReader.open(String path)
Returns an IndexReader reading the index in an FSDirectory in the named path.
IndexReader
Returns an IndexReader reading the index in the given Directory.

Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.