Index (Lucene 3.6.2 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I J K L M O P R S T X

## A

add(FilterClause) - Method in class org.apache.lucene.search.BooleanFilter
  Adds a new FilterClause to the Boolean Filter container
add(Filter, BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanFilter
addTerm(Term) - Method in class org.apache.lucene.search.TermsFilter
  Adds a term to the list of acceptable terms
addTerms(String, String, float, int) - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
  Adds user input for "fuzzification"
AND - Static variable in class org.apache.lucene.search.ChainedFilter
ANDNOT - Static variable in class org.apache.lucene.search.ChainedFilter

## B

BooleanFilter - Class in org.apache.lucene.search
  A container Filter that allows Boolean composition of Filters.
BooleanFilter() - Constructor for class org.apache.lucene.search.BooleanFilter
BoostingQuery - Class in org.apache.lucene.search
  The BoostingQuery class can be used to effectively demote results that match a given query.
BoostingQuery(Query, Query, float) - Constructor for class org.apache.lucene.search.BoostingQuery

## C

ChainedFilter - Class in org.apache.lucene.search
  Allows multiple `Filter`s to be chained.
ChainedFilter(Filter[]) - Constructor for class org.apache.lucene.search.ChainedFilter
  Ctor.
ChainedFilter(Filter[], int[]) - Constructor for class org.apache.lucene.search.ChainedFilter
  Ctor.
ChainedFilter(Filter[], int) - Constructor for class org.apache.lucene.search.ChainedFilter
  Ctor.
clauses() - Method in class org.apache.lucene.search.BooleanFilter
  Returns the list of clauses
close() - Method in class org.apache.lucene.search.regex.RegexTermEnum
compile(String) - Method in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
compile(String) - Method in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
compile(String) - Method in interface org.apache.lucene.search.regex.RegexCapabilities
  Called by the constructor of `RegexTermEnum` allowing implementations to cache a compiled version of the regular expression pattern.

## D

DEFAULT - Static variable in class org.apache.lucene.search.ChainedFilter
  Logical operation when none is declared.
DEFAULT_ANALYZER - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. This default will be removed in Lucene 4.0 (with the default being null). If you are not using term vectors, explicitly set your analyzer instead.
DEFAULT_BOOST - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Boost terms in query based on score.
DEFAULT_FIELD_NAMES - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Default field names.
DEFAULT_MAX_DOC_FREQ - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Ignore words which occur in more than this many docs.
DEFAULT_MAX_NUM_TOKENS_PARSED - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Default maximum number of tokens to parse in each example doc field that is not stored with TermVector support.
DEFAULT_MAX_QUERY_TERMS - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Return a Query with no more than this many terms.
DEFAULT_MAX_WORD_LENGTH - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Ignore words greater than this length or if 0 then this has no effect.
DEFAULT_MIN_DOC_FREQ - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Ignore words which do not occur in at least this many docs.
DEFAULT_MIN_TERM_FREQ - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Ignore terms with less than this frequency in the source doc.
DEFAULT_MIN_WORD_LENGTH - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Ignore words less than this length or if 0 then this has no effect.
DEFAULT_STOP_WORDS - Static variable in class org.apache.lucene.search.similar.MoreLikeThis
  Default set of stopwords.
describeParams() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Describe the parameters that control how the "more like this" query is formed.
difference() - Method in class org.apache.lucene.search.regex.RegexTermEnum
DuplicateFilter - Class in org.apache.lucene.search
DuplicateFilter(String) - Constructor for class org.apache.lucene.search.DuplicateFilter
DuplicateFilter(String, int, int) - Constructor for class org.apache.lucene.search.DuplicateFilter

## E

endEnum() - Method in class org.apache.lucene.search.regex.RegexTermEnum
equals(Object) - Method in class org.apache.lucene.search.BooleanFilter
equals(Object) - Method in class org.apache.lucene.search.BoostingQuery
equals(Object) - Method in class org.apache.lucene.search.DuplicateFilter
equals(Object) - Method in class org.apache.lucene.search.FilterClause
equals(Object) - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
equals(Object) - Method in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
equals(Object) - Method in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
equals(Object) - Method in class org.apache.lucene.search.regex.RegexQuery
equals(Object) - Method in class org.apache.lucene.search.TermsFilter

## F

FilterClause - Class in org.apache.lucene.search
  A Filter that wrapped with an indication of how that filter is used when composed with another filter.
FilterClause(Filter, BooleanClause.Occur) - Constructor for class org.apache.lucene.search.FilterClause
  Create a new FilterClause
finalResult(OpenBitSetDISI, int) - Method in class org.apache.lucene.search.ChainedFilter
  Deprecated. Either use CachingWrapperFilter, or switch to a different DocIdSet implementation yourself. This method will be removed in Lucene 4.0
FLAG_CANON_EQ - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_CASE_INSENSITIVE - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_COMMENTS - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_DOTALL - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_LITERAL - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_MATCH_CASEINDEPENDENT - Static variable in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
  Flag to specify that matching should be case-independent (folded)
FLAG_MATCH_NORMAL - Static variable in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
  Flag to specify normal, case-sensitive matching behaviour.
FLAG_MULTILINE - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_UNICODE_CASE - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
FLAG_UNIX_LINES - Static variable in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
formSimilarQuery(String, Analyzer, String, Set<?>) - Static method in class org.apache.lucene.search.similar.SimilarityQueries
  Simple similarity query generators.
FuzzyLikeThisQuery - Class in org.apache.lucene.search
  Fuzzifies ALL terms provided as strings and then picks the best n differentiating terms.
FuzzyLikeThisQuery(int, Analyzer) - Constructor for class org.apache.lucene.search.FuzzyLikeThisQuery

## G

getAnalyzer() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns an analyzer that will be used to parse source doc with.
getAnalyzer() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getBoostFactor() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the boost factor used when boosting terms
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.BooleanFilter
  Returns the a DocIdSetIterator representing the Boolean composition of the filters that have been added.
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.ChainedFilter
  `Filter.getDocIdSet(org.apache.lucene.index.IndexReader)`.
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.DuplicateFilter
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.TermsFilter
getEnum(IndexReader) - Method in class org.apache.lucene.search.regex.RegexQuery
getFieldName() - Method in class org.apache.lucene.search.DuplicateFilter
getFieldNames() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the field names that will be used when generating the 'More Like This' query.
getFilter() - Method in class org.apache.lucene.search.FilterClause
  Returns this FilterClause's filter
getKeepMode() - Method in class org.apache.lucene.search.DuplicateFilter
getLikeText() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getMaxDocFreq() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the maximum frequency in which words may still appear.
getMaxNumTokensParsed() - Method in class org.apache.lucene.search.similar.MoreLikeThis
getMaxQueryTerms() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the maximum number of query terms that will be included in any generated query.
getMaxQueryTerms() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getMaxWordLen() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the maximum word length above which words will be ignored.
getMinDocFreq() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the frequency at which words will be ignored which do not occur in at least this many docs.
getMinDocFreq() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getMinTermFreq() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the frequency below which terms will be ignored in the source doc.
getMinTermFrequency() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getMinWordLen() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns the minimum word length below which words will be ignored.
getMoreLikeFields() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getOccur() - Method in class org.apache.lucene.search.FilterClause
  Returns this FilterClause's occur parameter
getPercentTermsToMatch() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getProcessingMode() - Method in class org.apache.lucene.search.DuplicateFilter
getRegexImplementation() - Method in class org.apache.lucene.search.regex.RegexQuery
getRegexImplementation() - Method in interface org.apache.lucene.search.regex.RegexQueryCapable
getRegexImplementation() - Method in class org.apache.lucene.search.regex.SpanRegexQuery
  Deprecated.
getSimilarity() - Method in class org.apache.lucene.search.similar.MoreLikeThis
getStopWords() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Get the current stop words being used.
getStopWords() - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
getTerm() - Method in class org.apache.lucene.search.regex.RegexQuery
getTerm() - Method in class org.apache.lucene.search.regex.SpanRegexQuery
  Deprecated.

## H

hashCode() - Method in class org.apache.lucene.search.BooleanFilter
hashCode() - Method in class org.apache.lucene.search.BoostingQuery
hashCode() - Method in class org.apache.lucene.search.DuplicateFilter
hashCode() - Method in class org.apache.lucene.search.FilterClause
hashCode() - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
hashCode() - Method in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
hashCode() - Method in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
hashCode() - Method in class org.apache.lucene.search.regex.RegexQuery
hashCode() - Method in class org.apache.lucene.search.TermsFilter

## I

isBoost() - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Returns whether to boost terms in query based on "score" or not.
isIgnoreTF() - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
iterator() - Method in class org.apache.lucene.search.BooleanFilter
  Returns an iterator on the clauses in this query.

## J

JakartaRegexpCapabilities - Class in org.apache.lucene.search.regex
  Implementation tying Jakarta Regexp to RegexQuery.
JakartaRegexpCapabilities() - Constructor for class org.apache.lucene.search.regex.JakartaRegexpCapabilities
  Constructs a RegexCapabilities with the default MATCH_NORMAL match style.
JakartaRegexpCapabilities(int) - Constructor for class org.apache.lucene.search.regex.JakartaRegexpCapabilities
  Constructs a RegexCapabilities with the provided match flags.
JavaUtilRegexCapabilities - Class in org.apache.lucene.search.regex
  An implementation tying Java's built-in java.util.regex to RegexQuery.
JavaUtilRegexCapabilities() - Constructor for class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
  Default constructor that uses java.util.regex.Pattern with its default flags.
JavaUtilRegexCapabilities(int) - Constructor for class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
  Constructor that allows for the modification of the flags that the java.util.regex.Pattern will use to compile the regular expression.

## K

KM_USE_FIRST_OCCURRENCE - Static variable in class org.apache.lucene.search.DuplicateFilter
KM_USE_LAST_OCCURRENCE - Static variable in class org.apache.lucene.search.DuplicateFilter

## L

like(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Return a query that will return docs like the passed lucene document ID.
like(File) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.like(Reader, String)` instead
like(URL) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.like(Reader, String)` instead
like(InputStream) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.like(Reader, String)` instead
like(Reader) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.like(Reader, String)` instead
like(Reader, String) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Return a query that will return docs like the passed Reader.

## M

match(String) - Method in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
match(String) - Method in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
match(String) - Method in interface org.apache.lucene.search.regex.RegexCapabilities
MoreLikeThis - Class in org.apache.lucene.search.similar
  Generate "more like this" similarity queries.
MoreLikeThis(IndexReader) - Constructor for class org.apache.lucene.search.similar.MoreLikeThis
  Constructor requiring an IndexReader.
MoreLikeThis(IndexReader, Similarity) - Constructor for class org.apache.lucene.search.similar.MoreLikeThis
MoreLikeThisQuery - Class in org.apache.lucene.search.similar
  A simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg in custom QueryParser extensions.
MoreLikeThisQuery(String, String[], Analyzer) - Constructor for class org.apache.lucene.search.similar.MoreLikeThisQuery
  Deprecated. use `MoreLikeThisQuery(String, String[], Analyzer, String)` instead.
MoreLikeThisQuery(String, String[], Analyzer, String) - Constructor for class org.apache.lucene.search.similar.MoreLikeThisQuery

## O

OR - Static variable in class org.apache.lucene.search.ChainedFilter
org.apache.lucene.search - package org.apache.lucene.search
org.apache.lucene.search.regex - package org.apache.lucene.search.regex
  Regular expression Query.
org.apache.lucene.search.similar - package org.apache.lucene.search.similar
  Document similarity query generators.

## P

PM_FAST_INVALIDATION - Static variable in class org.apache.lucene.search.DuplicateFilter
PM_FULL_VALIDATION - Static variable in class org.apache.lucene.search.DuplicateFilter
prefix() - Method in class org.apache.lucene.search.regex.JakartaRegexpCapabilities
prefix() - Method in class org.apache.lucene.search.regex.JavaUtilRegexCapabilities
prefix() - Method in interface org.apache.lucene.search.regex.RegexCapabilities
  A wise prefix implementation can reduce the term enumeration (and thus increase performance) of RegexQuery dramatically!

## R

RegexCapabilities - Interface in org.apache.lucene.search.regex
  Defines basic operations needed by `RegexQuery` for a regular expression implementation.
RegexQuery - Class in org.apache.lucene.search.regex
  Implements the regular expression term search query.
RegexQuery(Term) - Constructor for class org.apache.lucene.search.regex.RegexQuery
  Constructs a query for terms matching `term`.
RegexQueryCapable - Interface in org.apache.lucene.search.regex
  Defines methods for regular expression supporting Querys to use.
RegexTermEnum - Class in org.apache.lucene.search.regex
  Subclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation.
RegexTermEnum(IndexReader, Term, RegexCapabilities) - Constructor for class org.apache.lucene.search.regex.RegexTermEnum
retrieveInterestingTerms(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
retrieveInterestingTerms(Reader, String) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Convenience routine to make it easy to return the most interesting words in a document.
retrieveInterestingTerms(Reader) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.retrieveInterestingTerms(Reader, String)` instead.
retrieveTerms(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Find words for a more-like-this query former.
retrieveTerms(Reader, String) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Find words for a more-like-this query former.
retrieveTerms(Reader) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Deprecated. use `MoreLikeThis.retrieveTerms(Reader, String)` instead
rewrite(IndexReader) - Method in class org.apache.lucene.search.BoostingQuery
rewrite(IndexReader) - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
rewrite(IndexReader) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery

## S

setAnalyzer(Analyzer) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the analyzer to use.
setAnalyzer(Analyzer) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setBoost(boolean) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets whether to boost terms in query based on "score" or not.
setBoostFactor(float) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the boost factor to use when boosting terms
setFieldName(String) - Method in class org.apache.lucene.search.DuplicateFilter
setFieldNames(String[]) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the field names that will be used when generating the 'More Like This' query.
setIgnoreTF(boolean) - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
setKeepMode(int) - Method in class org.apache.lucene.search.DuplicateFilter
setLikeText(String) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setMaxDocFreq(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Set the maximum frequency in which words may still appear.
setMaxDocFreqPct(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Set the maximum percentage in which words may still appear.
setMaxNumTokensParsed(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
setMaxQueryTerms(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the maximum number of query terms that will be included in any generated query.
setMaxQueryTerms(int) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setMaxWordLen(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the maximum word length above which words will be ignored.
setMinDocFreq(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the frequency at which words will be ignored which do not occur in at least this many docs.
setMinDocFreq(int) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setMinTermFreq(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the frequency below which terms will be ignored in the source doc.
setMinTermFrequency(int) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setMinWordLen(int) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Sets the minimum word length below which words will be ignored.
setMoreLikeFields(String[]) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setPercentTermsToMatch(float) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
setProcessingMode(int) - Method in class org.apache.lucene.search.DuplicateFilter
setRegexImplementation(RegexCapabilities) - Method in class org.apache.lucene.search.regex.RegexQuery
  Defines which `RegexCapabilities` implementation is used by this instance.
setRegexImplementation(RegexCapabilities) - Method in interface org.apache.lucene.search.regex.RegexQueryCapable
setRegexImplementation(RegexCapabilities) - Method in class org.apache.lucene.search.regex.SpanRegexQuery
  Deprecated.
setSimilarity(Similarity) - Method in class org.apache.lucene.search.similar.MoreLikeThis
setStopWords(Set<?>) - Method in class org.apache.lucene.search.similar.MoreLikeThis
  Set the set of stopwords.
setStopWords(Set<?>) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery
SimilarityQueries - Class in org.apache.lucene.search.similar
  Simple similarity measures.
SpanRegexQuery - Class in org.apache.lucene.search.regex
  Deprecated. Use `new SpanMultiTermQueryWrapper<RegexQuery>(new RegexQuery())` instead. This query will be removed in Lucene 4.0
SpanRegexQuery(Term) - Constructor for class org.apache.lucene.search.regex.SpanRegexQuery
  Deprecated.

## T

termCompare(Term) - Method in class org.apache.lucene.search.regex.RegexTermEnum
TermsFilter - Class in org.apache.lucene.search
  Constructs a filter for docs matching any of the terms added to this class.
TermsFilter() - Constructor for class org.apache.lucene.search.TermsFilter
toString() - Method in class org.apache.lucene.search.BooleanFilter
  Prints a user-readable version of this Filter.
toString(String) - Method in class org.apache.lucene.search.BoostingQuery
toString() - Method in class org.apache.lucene.search.ChainedFilter
toString() - Method in class org.apache.lucene.search.FilterClause
toString(String) - Method in class org.apache.lucene.search.FuzzyLikeThisQuery
toString(String) - Method in class org.apache.lucene.search.regex.RegexQuery
toString(String) - Method in class org.apache.lucene.search.similar.MoreLikeThisQuery

## X

XOR - Static variable in class org.apache.lucene.search.ChainedFilter

A B C D E F G H I J K L M O P R S T X

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES