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

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

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

RegexTermEnum.RegexTermEnum(IndexReader reader, Term term, org.apache.lucene.search.regex.RegexCapabilities regexImpl)

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

FilteredTermEnum
Construct the enumeration to be used, expanding the pattern term.
Spans
Expert: Returns the matches for this query in an index.
Query
Expert: called to re-write queries into primitive queries.

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

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

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

String[]
SpellChecker.suggestSimilar(String word, int numSug, IndexReader ir, String field, boolean morePopular)
Suggest similar words (restricted or not to a field of a user index)

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
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.
Spans
Expert: Returns the matches for this query in an index.
Query
Expert: called to re-write queries into primitive queries.
Query
Query
Query
Expert: called to re-write queries into primitive queries.

Uses in package org.apache.lucene.search

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

Creates a hit queue sorted by the given list of fields.
Creates a FuzzyTermEnum with an empty prefix and a minSimilarity of 0.5f.
FuzzyTermEnum.FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity)
Creates a 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.
Construct to collect a given number of hits.
Creates a new WildcardTermEnum.

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

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
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
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
Explanation
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
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.
float[]
FieldCache.getFloats(IndexReader reader, String field, FieldCache.FloatParser parser)
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.
int[]
FieldCache.getInts(IndexReader reader, String field, FieldCache.IntParser parser)
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
Query
Query
Expert: called to re-write queries into primitive queries.
Query
Optimize our representation and our subqueries representations
Query
Rewrites the wrapped query.
Query
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
Expert: called to re-write queries into primitive queries.
Query
Expert: called to re-write queries into primitive queries.
Scorer
Scorer
Constructs a scorer for this.

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

IndexReader
Return the IndexReader this searches.

Uses in package org.apache.lucene.misc

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

BitSet

Uses in package org.apache.lucene.queryParser.surround.query

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

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

Query
DistanceQuery.getSpanNearQuery(IndexReader reader, String fieldName, float boost, BasicQueryFactory qf)
void
void
void
void

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

IndexReader

Uses in package org.apache.lucene.benchmark.byTask

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

void

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

IndexReader

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

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
IndexReader

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

void
Add an IndexReader.
void
ParallelReader.add(IndexReader reader, boolean ignoreStoredFields)
Add an IndexReader whose stored fields will not be returned.
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.

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

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

QueryScorer.QueryScorer(Query query, IndexReader reader, String fieldName)

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

TokenStream
TokenSources.getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)
A convenience method that tries a number of approaches to getting a token stream.
WeightedTerm[]
QueryTermExtractor.getIdfWeightedTerms(Query query, IndexReader reader, String fieldName)
Extracts all terms texts of a given Query into an array of WeightedTerms
TokenStream
TokenSources.getTokenStream(IndexReader reader, int docId, String field)
TokenStream
TokenSources.getTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)

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