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

Packages that use IndexReader
org.apache.lucene.index Code to maintain and access indices. 
org.apache.lucene.search Search over indices. 
org.apache.lucene.search.spans The calculus of spans. 
 

Uses of IndexReader in org.apache.lucene.index
 

Subclasses of IndexReader in org.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 org.apache.lucene.index declared as IndexReader
protected  IndexReader FilterIndexReader.in
           
 

Methods in org.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(java.io.File path)
          Returns an IndexReader reading the index in an FSDirectory in the named path.
static IndexReader IndexReader.open(java.lang.String path)
          Returns an IndexReader reading the index in an FSDirectory in the named path.
 

Methods in org.apache.lucene.index with parameters of type IndexReader
 void IndexWriter.addIndexes(IndexReader[] readers)
          Merges the provided indexes into this index.
 

Constructors in org.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 org.apache.lucene.search
 

Methods in org.apache.lucene.search with parameters of type IndexReader
abstract  java.util.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.
 java.util.BitSet QueryFilter.bits(IndexReader reader)
           
 java.util.BitSet CachingWrapperFilter.bits(IndexReader reader)
           
 java.util.BitSet DateFilter.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.
 java.lang.Object FieldCache.getAuto(IndexReader reader, java.lang.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.
 java.lang.Comparable[] FieldCache.getCustom(IndexReader reader, java.lang.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.
protected  FilteredTermEnum WildcardQuery.getEnum(IndexReader reader)
           
protected abstract  FilteredTermEnum MultiTermQuery.getEnum(IndexReader reader)
          Construct the enumeration to be used, expanding the pattern term.
protected  FilteredTermEnum FuzzyQuery.getEnum(IndexReader reader)
           
 float[] FieldCache.getFloats(IndexReader reader, java.lang.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, java.lang.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, java.lang.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.
 java.lang.String[] FieldCache.getStrings(IndexReader reader, java.lang.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, java.lang.String fieldname)
           
 ScoreDocComparator SortComparatorSource.newComparator(IndexReader reader, java.lang.String fieldname)
          Creates a comparator for the field in the given index.
 Query BooleanQuery.rewrite(IndexReader reader)
           
 Query PrefixQuery.rewrite(IndexReader reader)
           
 Query RangeQuery.rewrite(IndexReader reader)
          FIXME: Describe rewrite method here.
 Query FilteredQuery.rewrite(IndexReader reader)
          Rewrites the wrapped query.
 Query MultiTermQuery.rewrite(IndexReader reader)
           
 Query Query.rewrite(IndexReader reader)
          Expert: called to re-write queries into primitive queries.
 Scorer Weight.scorer(IndexReader reader)
          Constructs a scorer for this.
 

Constructors in org.apache.lucene.search with parameters of type IndexReader
FuzzyTermEnum(IndexReader reader, Term term)
          Empty prefix and minSimilarity of 0.5f are used.
FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity)
          This is the standard FuzzyTermEnum with an empty prefix.
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.
IndexSearcher(IndexReader r)
          Creates a searcher searching the provided index.
WildcardTermEnum(IndexReader reader, Term term)
          Creates a new WildcardTermEnum.
 

Uses of IndexReader in org.apache.lucene.search.spans
 

Methods in org.apache.lucene.search.spans with parameters of type IndexReader
 Spans SpanFirstQuery.getSpans(IndexReader reader)
           
 Spans SpanTermQuery.getSpans(IndexReader reader)
           
 Spans SpanNearQuery.getSpans(IndexReader reader)
           
 Spans SpanOrQuery.getSpans(IndexReader reader)
           
 Spans SpanNotQuery.getSpans(IndexReader reader)
           
abstract  Spans SpanQuery.getSpans(IndexReader reader)
          Expert: Returns the matches for this query in an index.
 



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