Library:Apache Lucene Contrib
Version:2.0.0
Compatibility:JDK 1.4
Classes in library Apache Lucene Contrib.
NamePackageDescription
AnalyzerUtilorg.apache.lucene.index.memoryVarious fulltext analysis utilities avoiding redundant code in several classes.
AnalyzingQueryParserorg.apache.lucene.queryParser.analyzingOverrides Lucene's default QueryParser so that Fuzzy-, Prefix-, Range-, and WildcardQuerys are also passed through the given analyzer, but ? and * don't get removed from the search terms.
AndQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
BasicQueryFactoryorg.apache.lucene.queryParser.surround.queryNo description provided.
BooleanFilterorg.apache.lucene.searchA container Filter that allows Boolean composition of Filters.
BooleanFilterBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
BooleanQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
BoostingQueryorg.apache.lucene.searchThe BoostingQuery class can be used to effectively demote results that match a given query.
BoostingQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
ChainedFilterorg.apache.lucene.misc

Allows multiple Filter s to be chained.

ComposedQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
ConstantScoreQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
CoreParserorg.apache.lucene.xmlparserAssembles a QueryBuilder which uses only core Lucene Query objects
CorePlusExtensionsParserorg.apache.lucene.xmlparserNo description provided.
DefaultEncoderorg.apache.lucene.search.highlightSimple Encoder implementation that does not modify the output
DistanceQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
DOMUtilsorg.apache.lucene.xmlparserNo description provided.
FastCharStreamorg.apache.lucene.queryParser.surround.parserAn efficient implementation of JavaCC's CharStream interface.
FastCharStreamorg.apache.lucene.queryParser.precedenceAn efficient implementation of JavaCC's CharStream interface.
FieldsQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
FileExtensionDocumentHandlerorg.apache.lucene.antA DocumentHandler implementation to delegate responsibility to based on a files extension.
FilterBuilderFactoryorg.apache.lucene.xmlparserNo description provided.
FilterClauseorg.apache.lucene.searchA Filter that wrapped with an indication of how that filter is used when composed with another filter.
FilteredQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
FuzzyLikeThisQueryorg.apache.lucene.searchFuzzifies ALL terms provided as strings and then picks the best n differentiating terms.
FuzzyLikeThisQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
GradientFormatterorg.apache.lucene.search.highlightFormats text with different color intensity depending on the score of the term.
HighFreqTermsorg.apache.lucene.miscHighFreqTerms class extracts terms and their frequencies out of an existing Lucene index.
Highlighterorg.apache.lucene.search.highlightClass used to markup highlighted terms found in the best sections of a text, using configurable Fragmenter , Scorer , Formatter , Encoder and tokenizers.
HtmlDocumentorg.apache.lucene.antThe HtmlDocument class creates a Lucene Document from an HTML document.
IndexMergeToolorg.apache.lucene.miscMerges indices specified on the command line into the index specified as the first command line argument.
IndexTaskorg.apache.lucene.antAnt task to index files with Lucene
IndexTask.AnalyzerTypeorg.apache.lucene.antNo description provided.
IndexTask.HandlerConfigorg.apache.lucene.antNo description provided.
JakartaRegexpCapabilitiesorg.apache.lucene.search.regexImplementation tying Jakarta Regexp to RegexQuery.
JavaUtilRegexCapabilitiesorg.apache.lucene.search.regexAn implementation tying Java's built-in java.util.regex to RegexQuery.
LengthNormModifierorg.apache.lucene.miscGiven a directory, a Similarity, and a list of fields, updates the fieldNorms in place for every document using the Similarity.lengthNorm.
LikeThisQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
ListSearcherorg.apache.lucene.swing.modelsSee table searcher explanation.
LuceneDictionaryorg.apache.lucene.search.spellLucene Dictionary
MatchAllDocsQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
MemoryIndexorg.apache.lucene.index.memoryHigh-performance single-document main memory Apache Lucene fulltext search index.
MoreLikeThisorg.apache.lucene.search.similarGenerate "more like this" similarity queries.
MoreLikeThisQueryorg.apache.lucene.search.similarA simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg in custom QueryParser extensions.
NotQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
NullFragmenterorg.apache.lucene.search.highlightFragmenter implementation which does not fragment the text.
OrQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
PatternAnalyzerorg.apache.lucene.index.memoryEfficient Lucene analyzer/tokenizer that preferably operates on a String rather than a Reader , that can flexibly separate text into terms via a regular expression Pattern (with behaviour identical to split(String) ), and that combines the functionality of LetterTokenizer , LowerCaseTokenizer , WhitespaceTokenizer , StopFilter into a single efficient multi-purpose class.
PlainTextDictionaryorg.apache.lucene.search.spellDictionary represented by a file text.
PrecedenceQueryParserorg.apache.lucene.queryParser.precedenceExperimental query parser variant designed to handle operator precedence in a more sensible fashion than QueryParser.
PrecedenceQueryParserTokenManagerorg.apache.lucene.queryParser.precedenceNo description provided.
QueryBuilderFactoryorg.apache.lucene.xmlparserNo description provided.
QueryParserorg.apache.lucene.queryParser.surround.parserThis class is generated by JavaCC.
QueryParserTokenManagerorg.apache.lucene.queryParser.surround.parserNo description provided.
QueryScorerorg.apache.lucene.search.highlightScorer implementation which scores text fragments by the number of unique query terms found.
QueryTermExtractororg.apache.lucene.search.highlightUtility class used to extract the terms used in a query, plus any weights.
RangeFilterBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
RegexpTunnelorg.apache.regexpThis class exists as a gateway to access useful Jakarta Regexp package protected data.
RegexQueryorg.apache.lucene.search.regexImplements the regular expression term search query.
RegexTermEnumorg.apache.lucene.search.regexSubclass of FilteredTermEnum for enumerating all terms that match the specified regular expression term using the specified regular expression implementation.
SimilarityQueriesorg.apache.lucene.search.similarSimple similarity measures.
SimpleFragmenterorg.apache.lucene.search.highlightFragmenter implementation which breaks text up into same-size fragments with no concerns over spotting sentence boundaries.
SimpleHTMLEncoderorg.apache.lucene.search.highlightSimple Encoder implementation to escape text for HTML output
SimpleHTMLFormatterorg.apache.lucene.search.highlightSimple Formatter implementation to highlight terms with a pre and post tag
SimpleTermorg.apache.lucene.queryParser.surround.queryNo description provided.
SpanBuilderBaseorg.apache.lucene.xmlparser.buildersNo description provided.
SpanFirstBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpanGradientFormatterorg.apache.lucene.search.highlightFormats text with different color intensity depending on the score of the term using the span tag.
SpanNearBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpanNearClauseFactoryorg.apache.lucene.queryParser.surround.queryNo description provided.
SpanNotBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpanOrBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpanOrTermsBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpanQueryBuilderFactoryorg.apache.lucene.xmlparser.buildersNo description provided.
SpanRegexQueryorg.apache.lucene.search.regexA SpanQuery version of RegexQuery allowing regular expression queries to be nested within other SpanQuery subclasses.
SpanTermBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
SpellCheckerorg.apache.lucene.search.spell

Spell Checker class (Main class)
(initially inspired by the David Spencer code).

SrndPrefixQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
SrndQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
SrndTermQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
SrndTruncQueryorg.apache.lucene.queryParser.surround.queryNo description provided.
SweetSpotSimilarityorg.apache.lucene.miscA similarity with a lengthNorm that provides for a "platuea" of equally good lengths, and tf helper functions.
SynExpandorg.apache.lucene.wordnetExpand a query by looking up synonyms for every term.
SynLookuporg.apache.lucene.wordnetTest program to look up synonyms.
SynonymMaporg.apache.lucene.index.memoryLoads the WordNet prolog file wn_s.pl into a thread-safe main-memory hash map that can be used for fast high-frequncy lookups of synonyms for any given (lowercase) word string.
SynonymTokenFilterorg.apache.lucene.index.memoryInjects additional tokens for synonyms of token terms fetched from the underlying child stream; the child stream must deliver lowercase tokens for synonyms to be found.
Syns2Indexorg.apache.lucene.wordnetConvert the prolog file wn_s.pl from the WordNet prolog download into a Lucene index suitable for looking up synonyms and performing query expansion ( SynExpand.expand(...) ).
TableSearcherorg.apache.lucene.swing.modelsThis is a TableModel that encapsulates Lucene search logic within a TableModel implementation.
TermQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
TermsFilterorg.apache.lucene.searchConstructs a filter for docs matching any of the terms added to this class.
TermsFilterBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
TextDocumentorg.apache.lucene.antA utility for making Lucene Documents from a File.
TextFragmentorg.apache.lucene.search.highlightLow-level class used to record information about a section of a document with a score.
Tokenorg.apache.lucene.queryParser.surround.parserDescribes the input token stream.
Tokenorg.apache.lucene.queryParser.precedenceDescribes the input token stream.
TokenGrouporg.apache.lucene.search.highlightOne, or several overlapping tokens, along with the score(s) and the scope of the original text
TokenSourcesorg.apache.lucene.search.highlightHides implementation issues associated with obtaining a TokenStream for use with the higlighter - can obtain from TermFreqVectors with offsets and (optionally) positions or from Analyzer class reparsing the stored content.
UserInputQueryBuilderorg.apache.lucene.xmlparser.buildersNo description provided.
WeightedTermorg.apache.lucene.search.highlightLightweight class to hold term and a weight value used for scoring this term
Search