Uses of Class
org.apache.lucene.analysis.Analyzer
-
Packages that use Analyzer Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.analysis.ar Analyzer for Arabic.org.apache.lucene.analysis.bg Analyzer for Bulgarian.org.apache.lucene.analysis.br Analyzer for Brazilian Portuguese.org.apache.lucene.analysis.ca Analyzer for Catalan.org.apache.lucene.analysis.cjk Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).org.apache.lucene.analysis.cn Analyzer for Chinese, which indexes unigrams (individual chinese characters).org.apache.lucene.analysis.cn.smart Analyzer for Simplified Chinese, which indexes words.org.apache.lucene.analysis.cz Analyzer for Czech.org.apache.lucene.analysis.da Analyzer for Danish.org.apache.lucene.analysis.de Analyzer for German.org.apache.lucene.analysis.el Analyzer for Greek.org.apache.lucene.analysis.en Analyzer for English.org.apache.lucene.analysis.es Analyzer for Spanish.org.apache.lucene.analysis.eu Analyzer for Basque.org.apache.lucene.analysis.fa Analyzer for Persian.org.apache.lucene.analysis.fi Analyzer for Finnish.org.apache.lucene.analysis.fr Analyzer for French.org.apache.lucene.analysis.ga Analysis for Irish.org.apache.lucene.analysis.gl Analyzer for Galician.org.apache.lucene.analysis.hi Analyzer for Hindi.org.apache.lucene.analysis.hu Analyzer for Hungarian.org.apache.lucene.analysis.hy Analyzer for Armenian.org.apache.lucene.analysis.id Analyzer for Indonesian.org.apache.lucene.analysis.it Analyzer for Italian.org.apache.lucene.analysis.ja Analyzer for Japanese.org.apache.lucene.analysis.lv Analyzer for Latvian.org.apache.lucene.analysis.miscellaneous Miscellaneous TokenStreamsorg.apache.lucene.analysis.nl Analyzer for Dutch.org.apache.lucene.analysis.no Analyzer for Norwegian.org.apache.lucene.analysis.pl Analyzer for Polish.org.apache.lucene.analysis.pt Analyzer for Portuguese.org.apache.lucene.analysis.query Automatically filter high-frequency stopwords.org.apache.lucene.analysis.ro Analyzer for Romanian.org.apache.lucene.analysis.ru Analyzer for Russian.org.apache.lucene.analysis.shingle Word n-gram filtersorg.apache.lucene.analysis.snowball TokenFilterandAnalyzerimplementations that use Snowball stemmers.org.apache.lucene.analysis.standard Standards-based analyzers implemented with JFlex.org.apache.lucene.analysis.sv Analyzer for Swedish.org.apache.lucene.analysis.synonym Analysis components for Synonyms.org.apache.lucene.analysis.th Analyzer for Thai.org.apache.lucene.analysis.tr Analyzer for Turkish.org.apache.lucene.benchmark.byTask Benchmarking Lucene By Tasks.org.apache.lucene.benchmark.byTask.tasks Extendable benchmark tasks.org.apache.lucene.collation CollationKeyFilterconverts each token into its binaryCollationKeyusing the providedCollator, and then encode theCollationKeyas a String usingIndexableBinaryStringTools, to allow it to be stored as an index term.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.queryParser A simple query parser implemented with JavaCC.org.apache.lucene.queryParser.analyzing QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer.org.apache.lucene.queryParser.complexPhrase QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"org.apache.lucene.queryParser.ext Extendable QueryParser provides a simple and flexible extension mechanism by overloading query field names.org.apache.lucene.queryParser.precedence This package contains the Precedence Query Parser Implementationorg.apache.lucene.queryParser.standard Contains the implementation of the Lucene query parser using the flexible query parser frameworksorg.apache.lucene.queryParser.standard.config Standard Lucene Query Configurationorg.apache.lucene.search Code to search indices.org.apache.lucene.search.highlight The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages.org.apache.lucene.search.similar Document similarity query generators.org.apache.lucene.store.instantiated InstantiatedIndex, alternative RAM store for small corpora.org.apache.lucene.util Some utility classes.org.apache.lucene.xmlparser Parser that produces Lucene Query objects from XML streams.org.apache.lucene.xmlparser.builders Builders to support various Lucene queries. -
-
Uses of Analyzer in org.apache.lucene.analysis
Subclasses of Analyzer in org.apache.lucene.analysis Modifier and Type Class Description classKeywordAnalyzer"Tokenizes" the entire stream as a single token.classLimitTokenCountAnalyzerThis Analyzer limits the number of tokens while indexing.classMockAnalyzerAnalyzer for testingclassPerFieldAnalyzerWrapperThis analyzer is used to facilitate scenarios where different fields require different analysis techniques.classReusableAnalyzerBaseAn convenience subclass of Analyzer that makes it easy to implementTokenStreamreuse.classSimpleAnalyzerclassStopAnalyzerclassStopwordAnalyzerBaseBase class for Analyzers that need to make use of stopword sets.classWhitespaceAnalyzerAn Analyzer that usesWhitespaceTokenizer.Methods in org.apache.lucene.analysis with parameters of type Analyzer Modifier and Type Method Description voidPerFieldAnalyzerWrapper. addAnalyzer(String fieldName, Analyzer analyzer)Deprecated.Changing the Analyzer for a field after instantiation prevents reusability.static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements, int[] posLengths)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements, int[] posLengths, boolean offsetsAreCorrect)static voidBaseTokenStreamTestCase. assertAnalyzesTo(Analyzer a, String input, String[] output, String[] types)static voidBaseTokenStreamTestCase. assertAnalyzesToPositions(Analyzer a, String input, String[] output, int[] posIncrements, int[] posLengths)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output, int[] startOffsets, int[] endOffsets, String[] types, int[] posIncrements)static voidBaseTokenStreamTestCase. assertAnalyzesToReuse(Analyzer a, String input, String[] output, String[] types)voidCollationTestBase. assertThreadSafe(Analyzer analyzer)static voidVocabularyAssert. assertVocabulary(Analyzer a, File zipFile, String vocOut)Run a vocabulary test against a tab-separated data file inside a zip filestatic voidVocabularyAssert. assertVocabulary(Analyzer a, File zipFile, String voc, String out)Run a vocabulary test against two data files inside a zip filestatic voidVocabularyAssert. assertVocabulary(Analyzer a, InputStream vocOut)Run a vocabulary test against one file: tab separated.static voidVocabularyAssert. assertVocabulary(Analyzer a, InputStream voc, InputStream out)Run a vocabulary test against two data files.static voidBaseTokenStreamTestCase. checkAnalysisConsistency(Random random, Analyzer a, boolean useCharFilter, String text)static voidBaseTokenStreamTestCase. checkAnalysisConsistency(Random random, Analyzer a, boolean useCharFilter, String text, boolean offsetsAreCorrect)static voidBaseTokenStreamTestCase. checkOneTerm(Analyzer a, String input, String expected)static voidBaseTokenStreamTestCase. checkOneTermReuse(Analyzer a, String input, String expected)static voidBaseTokenStreamTestCase. checkRandomData(Random random, Analyzer a, int iterations)utility method for blasting tokenstreams with data to make sure they don't do anything crazystatic voidBaseTokenStreamTestCase. checkRandomData(Random random, Analyzer a, int iterations, boolean simple)utility method for blasting tokenstreams with data to make sure they don't do anything crazystatic voidBaseTokenStreamTestCase. checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength)utility method for blasting tokenstreams with data to make sure they don't do anything crazystatic voidBaseTokenStreamTestCase. checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength, boolean simple)static voidBaseTokenStreamTestCase. checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength, boolean simple, boolean offsetsAreCorrect)voidCollationTestBase. testCollationKeySort(Analyzer usAnalyzer, Analyzer franceAnalyzer, Analyzer swedenAnalyzer, Analyzer denmarkAnalyzer, String usResult, String frResult, String svResult, String dkResult)voidCollationTestBase. testFarsiRangeFilterCollating(Analyzer analyzer, String firstBeg, String firstEnd, String secondBeg, String secondEnd)voidCollationTestBase. testFarsiRangeQueryCollating(Analyzer analyzer, String firstBeg, String firstEnd, String secondBeg, String secondEnd)voidCollationTestBase. testFarsiTermRangeQuery(Analyzer analyzer, String firstBeg, String firstEnd, String secondBeg, String secondEnd)protected StringBaseTokenStreamTestCase. toDot(Analyzer a, String inputText)protected voidBaseTokenStreamTestCase. toDotFile(Analyzer a, String inputText, String localFileName)Constructors in org.apache.lucene.analysis with parameters of type Analyzer Constructor Description LimitTokenCountAnalyzer(Analyzer delegate, int maxTokenCount)Build an analyzer that limits the maximum number of tokens per field.PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer)Constructs with default analyzer.PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer, Map<String,Analyzer> fieldAnalyzers)Constructs with default analyzer and a map of analyzers to use for specific fields.Constructor parameters in org.apache.lucene.analysis with type arguments of type Analyzer Constructor Description PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer, Map<String,Analyzer> fieldAnalyzers)Constructs with default analyzer and a map of analyzers to use for specific fields. -
Uses of Analyzer in org.apache.lucene.analysis.ar
Subclasses of Analyzer in org.apache.lucene.analysis.ar Modifier and Type Class Description classArabicAnalyzerAnalyzerfor Arabic. -
Uses of Analyzer in org.apache.lucene.analysis.bg
Subclasses of Analyzer in org.apache.lucene.analysis.bg Modifier and Type Class Description classBulgarianAnalyzerAnalyzerfor Bulgarian. -
Uses of Analyzer in org.apache.lucene.analysis.br
Subclasses of Analyzer in org.apache.lucene.analysis.br Modifier and Type Class Description classBrazilianAnalyzerAnalyzerfor Brazilian Portuguese language. -
Uses of Analyzer in org.apache.lucene.analysis.ca
Subclasses of Analyzer in org.apache.lucene.analysis.ca Modifier and Type Class Description classCatalanAnalyzerAnalyzerfor Catalan. -
Uses of Analyzer in org.apache.lucene.analysis.cjk
Subclasses of Analyzer in org.apache.lucene.analysis.cjk Modifier and Type Class Description classCJKAnalyzerAnAnalyzerthat tokenizes text withStandardTokenizer, normalizes content withCJKWidthFilter, folds case withLowerCaseFilter, forms bigrams of CJK withCJKBigramFilter, and filters stopwords withStopFilter -
Uses of Analyzer in org.apache.lucene.analysis.cn
Subclasses of Analyzer in org.apache.lucene.analysis.cn Modifier and Type Class Description classChineseAnalyzerDeprecated.UseStandardAnalyzerinstead, which has the same functionality. -
Uses of Analyzer in org.apache.lucene.analysis.cn.smart
Subclasses of Analyzer in org.apache.lucene.analysis.cn.smart Modifier and Type Class Description classSmartChineseAnalyzerSmartChineseAnalyzer is an analyzer for Chinese or mixed Chinese-English text. -
Uses of Analyzer in org.apache.lucene.analysis.cz
Subclasses of Analyzer in org.apache.lucene.analysis.cz Modifier and Type Class Description classCzechAnalyzerAnalyzerfor Czech language. -
Uses of Analyzer in org.apache.lucene.analysis.da
Subclasses of Analyzer in org.apache.lucene.analysis.da Modifier and Type Class Description classDanishAnalyzerAnalyzerfor Danish. -
Uses of Analyzer in org.apache.lucene.analysis.de
Subclasses of Analyzer in org.apache.lucene.analysis.de Modifier and Type Class Description classGermanAnalyzerAnalyzerfor German language. -
Uses of Analyzer in org.apache.lucene.analysis.el
Subclasses of Analyzer in org.apache.lucene.analysis.el Modifier and Type Class Description classGreekAnalyzerAnalyzerfor the Greek language. -
Uses of Analyzer in org.apache.lucene.analysis.en
Subclasses of Analyzer in org.apache.lucene.analysis.en Modifier and Type Class Description classEnglishAnalyzerAnalyzerfor English. -
Uses of Analyzer in org.apache.lucene.analysis.es
Subclasses of Analyzer in org.apache.lucene.analysis.es Modifier and Type Class Description classSpanishAnalyzerAnalyzerfor Spanish. -
Uses of Analyzer in org.apache.lucene.analysis.eu
Subclasses of Analyzer in org.apache.lucene.analysis.eu Modifier and Type Class Description classBasqueAnalyzerAnalyzerfor Basque. -
Uses of Analyzer in org.apache.lucene.analysis.fa
Subclasses of Analyzer in org.apache.lucene.analysis.fa Modifier and Type Class Description classPersianAnalyzerAnalyzerfor Persian. -
Uses of Analyzer in org.apache.lucene.analysis.fi
Subclasses of Analyzer in org.apache.lucene.analysis.fi Modifier and Type Class Description classFinnishAnalyzerAnalyzerfor Finnish. -
Uses of Analyzer in org.apache.lucene.analysis.fr
Subclasses of Analyzer in org.apache.lucene.analysis.fr Modifier and Type Class Description classFrenchAnalyzerAnalyzerfor French language. -
Uses of Analyzer in org.apache.lucene.analysis.ga
Subclasses of Analyzer in org.apache.lucene.analysis.ga Modifier and Type Class Description classIrishAnalyzerAnalyzerfor Irish. -
Uses of Analyzer in org.apache.lucene.analysis.gl
Subclasses of Analyzer in org.apache.lucene.analysis.gl Modifier and Type Class Description classGalicianAnalyzerAnalyzerfor Galician. -
Uses of Analyzer in org.apache.lucene.analysis.hi
Subclasses of Analyzer in org.apache.lucene.analysis.hi Modifier and Type Class Description classHindiAnalyzerAnalyzer for Hindi. -
Uses of Analyzer in org.apache.lucene.analysis.hu
Subclasses of Analyzer in org.apache.lucene.analysis.hu Modifier and Type Class Description classHungarianAnalyzerAnalyzerfor Hungarian. -
Uses of Analyzer in org.apache.lucene.analysis.hy
Subclasses of Analyzer in org.apache.lucene.analysis.hy Modifier and Type Class Description classArmenianAnalyzerAnalyzerfor Armenian. -
Uses of Analyzer in org.apache.lucene.analysis.id
Subclasses of Analyzer in org.apache.lucene.analysis.id Modifier and Type Class Description classIndonesianAnalyzerAnalyzer for Indonesian (Bahasa) -
Uses of Analyzer in org.apache.lucene.analysis.it
Subclasses of Analyzer in org.apache.lucene.analysis.it Modifier and Type Class Description classItalianAnalyzerAnalyzerfor Italian. -
Uses of Analyzer in org.apache.lucene.analysis.ja
Subclasses of Analyzer in org.apache.lucene.analysis.ja Modifier and Type Class Description classJapaneseAnalyzerAnalyzer for Japanese that uses morphological analysis. -
Uses of Analyzer in org.apache.lucene.analysis.lv
Subclasses of Analyzer in org.apache.lucene.analysis.lv Modifier and Type Class Description classLatvianAnalyzerAnalyzerfor Latvian. -
Uses of Analyzer in org.apache.lucene.analysis.miscellaneous
Subclasses of Analyzer in org.apache.lucene.analysis.miscellaneous Modifier and Type Class Description classPatternAnalyzerEfficient Lucene analyzer/tokenizer that preferably operates on a String rather than aReader, that can flexibly separate text into terms via a regular expressionPattern(with behaviour identical toString.split(String)), and that combines the functionality ofLetterTokenizer,LowerCaseTokenizer,WhitespaceTokenizer,StopFilterinto a single efficient multi-purpose class. -
Uses of Analyzer in org.apache.lucene.analysis.nl
Subclasses of Analyzer in org.apache.lucene.analysis.nl Modifier and Type Class Description classDutchAnalyzerAnalyzerfor Dutch language. -
Uses of Analyzer in org.apache.lucene.analysis.no
Subclasses of Analyzer in org.apache.lucene.analysis.no Modifier and Type Class Description classNorwegianAnalyzerAnalyzerfor Norwegian. -
Uses of Analyzer in org.apache.lucene.analysis.pl
Subclasses of Analyzer in org.apache.lucene.analysis.pl Modifier and Type Class Description classPolishAnalyzerAnalyzerfor Polish. -
Uses of Analyzer in org.apache.lucene.analysis.pt
Subclasses of Analyzer in org.apache.lucene.analysis.pt Modifier and Type Class Description classPortugueseAnalyzerAnalyzerfor Portuguese. -
Uses of Analyzer in org.apache.lucene.analysis.query
Subclasses of Analyzer in org.apache.lucene.analysis.query Modifier and Type Class Description classQueryAutoStopWordAnalyzerAnAnalyzerused primarily at query time to wrap another analyzer and provide a layer of protection which prevents very common words from being passed into queries.Constructors in org.apache.lucene.analysis.query with parameters of type Analyzer Constructor Description QueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate)Deprecated.Stopwords should be calculated at instantiation using one of the other constructorsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader)Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater thanQueryAutoStopWordAnalyzer.defaultMaxDocFreqPercentQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, float maxPercentDocs)Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, int maxDocFreq)Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for all indexed fields from terms with a document frequency greater than the given maxDocFreqQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, float maxPercentDocs)Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency percentage greater than the given maxPercentDocsQueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, int maxDocFreq)Creates a new QueryAutoStopWordAnalyzer with stopwords calculated for the given selection of fields from terms with a document frequency greater than the given maxDocFreq -
Uses of Analyzer in org.apache.lucene.analysis.ro
Subclasses of Analyzer in org.apache.lucene.analysis.ro Modifier and Type Class Description classRomanianAnalyzerAnalyzerfor Romanian. -
Uses of Analyzer in org.apache.lucene.analysis.ru
Subclasses of Analyzer in org.apache.lucene.analysis.ru Modifier and Type Class Description classRussianAnalyzerAnalyzerfor Russian language. -
Uses of Analyzer in org.apache.lucene.analysis.shingle
Subclasses of Analyzer in org.apache.lucene.analysis.shingle Modifier and Type Class Description classShingleAnalyzerWrapperA ShingleAnalyzerWrapper wraps aShingleFilteraround anotherAnalyzer.Constructors in org.apache.lucene.analysis.shingle with parameters of type Analyzer Constructor Description ShingleAnalyzerWrapper(Analyzer defaultAnalyzer)ShingleAnalyzerWrapper(Analyzer defaultAnalyzer, int maxShingleSize)ShingleAnalyzerWrapper(Analyzer defaultAnalyzer, int minShingleSize, int maxShingleSize)ShingleAnalyzerWrapper(Analyzer defaultAnalyzer, int minShingleSize, int maxShingleSize, String tokenSeparator, boolean outputUnigrams, boolean outputUnigramsIfNoShingles)Creates a new ShingleAnalyzerWrapper -
Uses of Analyzer in org.apache.lucene.analysis.snowball
Subclasses of Analyzer in org.apache.lucene.analysis.snowball Modifier and Type Class Description classSnowballAnalyzerDeprecated.Use the language-specific analyzer in contrib/analyzers instead. -
Uses of Analyzer in org.apache.lucene.analysis.standard
Subclasses of Analyzer in org.apache.lucene.analysis.standard Modifier and Type Class Description classClassicAnalyzerFiltersClassicTokenizerwithClassicFilter,LowerCaseFilterandStopFilter, using a list of English stop words.classStandardAnalyzerFiltersStandardTokenizerwithStandardFilter,LowerCaseFilterandStopFilter, using a list of English stop words.classUAX29URLEmailAnalyzerFiltersUAX29URLEmailTokenizerwithStandardFilter,LowerCaseFilterandStopFilter, using a list of English stop words. -
Uses of Analyzer in org.apache.lucene.analysis.sv
Subclasses of Analyzer in org.apache.lucene.analysis.sv Modifier and Type Class Description classSwedishAnalyzerAnalyzerfor Swedish. -
Uses of Analyzer in org.apache.lucene.analysis.synonym
Methods in org.apache.lucene.analysis.synonym with parameters of type Analyzer Modifier and Type Method Description static CharsRefSynonymMap.Builder. analyze(Analyzer analyzer, String text, CharsRef reuse)Sugar: analyzes the text with the analyzer and separates bySynonymMap.WORD_SEPARATOR.Constructors in org.apache.lucene.analysis.synonym with parameters of type Analyzer Constructor Description SolrSynonymParser(boolean dedup, boolean expand, Analyzer analyzer)WordnetSynonymParser(boolean dedup, boolean expand, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.analysis.th
Subclasses of Analyzer in org.apache.lucene.analysis.th Modifier and Type Class Description classThaiAnalyzerAnalyzerfor Thai language. -
Uses of Analyzer in org.apache.lucene.analysis.tr
Subclasses of Analyzer in org.apache.lucene.analysis.tr Modifier and Type Class Description classTurkishAnalyzerAnalyzerfor Turkish. -
Uses of Analyzer in org.apache.lucene.benchmark.byTask
Methods in org.apache.lucene.benchmark.byTask that return Analyzer Modifier and Type Method Description AnalyzerPerfRunData. getAnalyzer()Methods in org.apache.lucene.benchmark.byTask with parameters of type Analyzer Modifier and Type Method Description voidPerfRunData. setAnalyzer(Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.benchmark.byTask.tasks
Methods in org.apache.lucene.benchmark.byTask.tasks that return Analyzer Modifier and Type Method Description static AnalyzerNewAnalyzerTask. createAnalyzer(String className)Methods in org.apache.lucene.benchmark.byTask.tasks with parameters of type Analyzer Modifier and Type Method Description abstract intBenchmarkHighlighter. doHighlight(IndexReader reader, int doc, String field, Document document, Analyzer analyzer, String text) -
Uses of Analyzer in org.apache.lucene.collation
Subclasses of Analyzer in org.apache.lucene.collation Modifier and Type Class Description classCollationKeyAnalyzerFiltersKeywordTokenizerwithCollationKeyFilter.classICUCollationKeyAnalyzerFiltersKeywordTokenizerwithICUCollationKeyFilter. -
Uses of Analyzer in org.apache.lucene.index
Methods in org.apache.lucene.index that return Analyzer Modifier and Type Method Description AnalyzerIndexWriter. getAnalyzer()Returns the analyzer used by this index.AnalyzerIndexWriterConfig. getAnalyzer()Returns the default analyzer to use for indexing documents.Methods in org.apache.lucene.index with parameters of type Analyzer Modifier and Type Method Description voidIndexWriter. addDocument(Document doc, Analyzer analyzer)Adds a document to this index, using the provided analyzer instead of the value ofIndexWriter.getAnalyzer().voidIndexWriter. addDocuments(Collection<Document> docs, Analyzer analyzer)Atomically adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.voidIndexWriter. updateDocument(Term term, Document doc, Analyzer analyzer)Updates a document by first deleting the document(s) containingtermand then adding the new document.voidIndexWriter. updateDocuments(Term delTerm, Collection<Document> docs, Analyzer analyzer)Atomically deletes documents matching the provided delTerm and adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents. -
Uses of Analyzer in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory with parameters of type Analyzer Modifier and Type Method Description voidMemoryIndex. addField(String fieldName, String text, Analyzer analyzer)Convenience method; Tokenizes the given field text and adds the resulting terms to the index; Equivalent to adding an indexed non-keyword LuceneFieldthat istokenized,not stored,termVectorStored with positions(ortermVectorStored with positions and offsets), -
Uses of Analyzer in org.apache.lucene.queryParser
Subclasses of Analyzer in org.apache.lucene.queryParser Modifier and Type Class Description static classQueryParserTestBase.QPTestAnalyzerFilters LowerCaseTokenizer with QPTestFilter.Fields in org.apache.lucene.queryParser declared as Analyzer Modifier and Type Field Description static AnalyzerQueryParserTestBase. qpAnalyzerMethods in org.apache.lucene.queryParser that return Analyzer Modifier and Type Method Description AnalyzerQueryParser. getAnalyzer()Methods in org.apache.lucene.queryParser with parameters of type Analyzer Modifier and Type Method Description voidQueryParserTestBase. assertEscapedQueryEquals(String query, Analyzer a, String result)voidQueryParserTestBase. assertQueryEquals(String query, Analyzer a, String result)voidQueryParserTestBase. assertQueryEqualsDOA(String query, Analyzer a, String result)abstract QueryParserQueryParserTestBase. getParser(Analyzer a)QueryQueryParserTestBase. getQuery(String query, Analyzer a)QueryQueryParserTestBase. getQueryDOA(String query, Analyzer a)static QueryMultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, Analyzer analyzer)Parses a query which searches on the fields specified.static QueryMultiFieldQueryParser. parse(Version matchVersion, String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.static QueryMultiFieldQueryParser. parse(Version matchVersion, String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.Constructors in org.apache.lucene.queryParser with parameters of type Analyzer Constructor Description MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer)Creates a MultiFieldQueryParser.MultiFieldQueryParser(Version matchVersion, String[] fields, Analyzer analyzer, Map<String,Float> boosts)Creates a MultiFieldQueryParser.QPTestParser(String f, Analyzer a)QueryParser(Version matchVersion, String f, Analyzer a)Constructs a query parser. -
Uses of Analyzer in org.apache.lucene.queryParser.analyzing
Constructors in org.apache.lucene.queryParser.analyzing with parameters of type Analyzer Constructor Description AnalyzingQueryParser(Version matchVersion, String field, Analyzer analyzer)Constructs a query parser. -
Uses of Analyzer in org.apache.lucene.queryParser.complexPhrase
Constructors in org.apache.lucene.queryParser.complexPhrase with parameters of type Analyzer Constructor Description ComplexPhraseQueryParser(Version matchVersion, String f, Analyzer a) -
Uses of Analyzer in org.apache.lucene.queryParser.ext
Constructors in org.apache.lucene.queryParser.ext with parameters of type Analyzer Constructor Description ExtendableQueryParser(Version matchVersion, String f, Analyzer a)Creates a newExtendableQueryParserinstanceExtendableQueryParser(Version matchVersion, String f, Analyzer a, Extensions ext)Creates a newExtendableQueryParserinstance -
Uses of Analyzer in org.apache.lucene.queryParser.precedence
Constructors in org.apache.lucene.queryParser.precedence with parameters of type Analyzer Constructor Description PrecedenceQueryParser(Analyzer analyer) -
Uses of Analyzer in org.apache.lucene.queryParser.standard
Methods in org.apache.lucene.queryParser.standard that return Analyzer Modifier and Type Method Description AnalyzerQueryParserWrapper. getAnalyzer()Deprecated.AnalyzerStandardQueryParser. getAnalyzer()Methods in org.apache.lucene.queryParser.standard with parameters of type Analyzer Modifier and Type Method Description static QueryMultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, Analyzer analyzer)Deprecated.Parses a query which searches on the fields specified.static QueryMultiFieldQueryParserWrapper. parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Deprecated.Parses a query, searching on the fields specified.static QueryMultiFieldQueryParserWrapper. parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Deprecated.Parses a query, searching on the fields specified.static QueryQueryParserUtil. parse(String[] queries, String[] fields, Analyzer analyzer)Parses a query which searches on the fields specified.static QueryQueryParserUtil. parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.static QueryQueryParserUtil. parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)Parses a query, searching on the fields specified.voidStandardQueryParser. setAnalyzer(Analyzer analyzer)Constructors in org.apache.lucene.queryParser.standard with parameters of type Analyzer Constructor Description MultiFieldQueryParserWrapper(String[] fields, Analyzer analyzer)Deprecated.Creates a MultiFieldQueryParser.MultiFieldQueryParserWrapper(String[] fields, Analyzer analyzer, Map<String,Float> boosts)Deprecated.Creates a MultiFieldQueryParser.QueryParserWrapper(String defaultField, Analyzer analyzer)Deprecated.StandardQueryParser(Analyzer analyzer)Constructs aStandardQueryParserobject and sets anAnalyzerto it. -
Uses of Analyzer in org.apache.lucene.queryParser.standard.config
Fields in org.apache.lucene.queryParser.standard.config with type parameters of type Analyzer Modifier and Type Field Description static ConfigurationKey<Analyzer>StandardQueryConfigHandler.ConfigurationKeys. ANALYZERKey used to set theAnalyzerused for terms found in the queryMethods in org.apache.lucene.queryParser.standard.config that return Analyzer Modifier and Type Method Description AnalyzerAnalyzerAttribute. getAnalyzer()Deprecated.AnalyzerAnalyzerAttributeImpl. getAnalyzer()Deprecated.Methods in org.apache.lucene.queryParser.standard.config with parameters of type Analyzer Modifier and Type Method Description voidAnalyzerAttribute. setAnalyzer(Analyzer analyzer)Deprecated.voidAnalyzerAttributeImpl. setAnalyzer(Analyzer analyzer)Deprecated. -
Uses of Analyzer in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Analyzer Modifier and Type Field Description protected static AnalyzerSearchEquivalenceTestBase. analyzerMethods in org.apache.lucene.search with parameters of type Analyzer Modifier and Type Method Description longNRTManager.TrackingIndexWriter. addDocument(Document d, Analyzer a)longNRTManager.TrackingIndexWriter. addDocuments(Collection<Document> docs, Analyzer a)longNRTManager.TrackingIndexWriter. updateDocument(Term t, Document d, Analyzer a)longNRTManager.TrackingIndexWriter. updateDocuments(Term t, Collection<Document> docs, Analyzer a)Constructors in org.apache.lucene.search with parameters of type Analyzer Constructor Description FuzzyLikeThisQuery(int maxNumTerms, Analyzer analyzer)QueryTermVector(String queryString, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight with parameters of type Analyzer Modifier and Type Method Description static TokenStreamTokenSources. getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)A convenience method that tries a number of approaches to getting a token stream.static TokenStreamTokenSources. getAnyTokenStream(IndexReader reader, int docId, String field, Document doc, Analyzer analyzer)A convenience method that tries to first get a TermPositionVector for the specified docId, then, falls back to using the passed inDocumentto retrieve the TokenStream.StringHighlighter. getBestFragment(Analyzer analyzer, String fieldName, String text)Highlights chosen terms in a text, extracting the most relevant section.String[]Highlighter. getBestFragments(Analyzer analyzer, String fieldName, String text, int maxNumFragments)Highlights chosen terms in a text, extracting the most relevant sections.static TokenStreamTokenSources. getTokenStream(String field, String contents, Analyzer analyzer)static TokenStreamTokenSources. getTokenStream(Document doc, String field, Analyzer analyzer)static TokenStreamTokenSources. getTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.search.similar
Fields in org.apache.lucene.search.similar declared as Analyzer Modifier and Type Field Description static AnalyzerMoreLikeThis. DEFAULT_ANALYZERDeprecated.This default will be removed in Lucene 4.0 (with the default being null).Methods in org.apache.lucene.search.similar that return Analyzer Modifier and Type Method Description AnalyzerMoreLikeThis. getAnalyzer()Returns an analyzer that will be used to parse source doc with.AnalyzerMoreLikeThisQuery. getAnalyzer()Methods in org.apache.lucene.search.similar with parameters of type Analyzer Modifier and Type Method Description static QuerySimilarityQueries. formSimilarQuery(String body, Analyzer a, String field, Set<?> stop)Simple similarity query generators.voidMoreLikeThis. setAnalyzer(Analyzer analyzer)Sets the analyzer to use.voidMoreLikeThisQuery. setAnalyzer(Analyzer analyzer)Constructors in org.apache.lucene.search.similar with parameters of type Analyzer Constructor Description MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer)Deprecated.MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer, String fieldName) -
Uses of Analyzer in org.apache.lucene.store.instantiated
Methods in org.apache.lucene.store.instantiated that return Analyzer Modifier and Type Method Description AnalyzerInstantiatedIndexWriter. getAnalyzer()Deprecated.Methods in org.apache.lucene.store.instantiated with parameters of type Analyzer Modifier and Type Method Description voidInstantiatedIndexWriter. addDocument(Document doc, Analyzer analyzer)Deprecated.Adds a document to this index, using the provided analyzer instead of the value ofInstantiatedIndexWriter.getAnalyzer().protected voidInstantiatedIndexWriter. addDocument(InstantiatedDocument document, Analyzer analyzer)Deprecated.Tokenizes a document and adds it to the buffer.InstantiatedIndexWriterInstantiatedIndex. indexWriterFactory(Analyzer analyzer, boolean create)Deprecated.voidInstantiatedIndexWriter. updateDocument(Term term, Document doc, Analyzer analyzer)Deprecated.Constructors in org.apache.lucene.store.instantiated with parameters of type Analyzer Constructor Description InstantiatedIndexWriter(InstantiatedIndex index, Analyzer analyzer)Deprecated.InstantiatedIndexWriter(InstantiatedIndex index, Analyzer analyzer, boolean create)Deprecated. -
Uses of Analyzer in org.apache.lucene.util
Methods in org.apache.lucene.util with parameters of type Analyzer Modifier and Type Method Description static IndexWriterConfigLuceneTestCase. newIndexWriterConfig(Random r, Version v, Analyzer a)create a new index writer config with random defaults using the specified randomstatic IndexWriterConfigLuceneTestCase. newIndexWriterConfig(Version v, Analyzer a)create a new index writer config with random defaults -
Uses of Analyzer in org.apache.lucene.xmlparser
Fields in org.apache.lucene.xmlparser declared as Analyzer Modifier and Type Field Description protected AnalyzerCoreParser. analyzerConstructors in org.apache.lucene.xmlparser with parameters of type Analyzer Constructor Description CoreParser(String defaultField, Analyzer analyzer)Constructs an XML parser that creates a QueryParser for each UserQuery request.CoreParser(String defaultField, Analyzer analyzer, QueryParser parser)CoreParser(Analyzer analyzer, QueryParser parser)Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parserCorePlusExtensionsParser(String defaultField, Analyzer analyzer)Constructs an XML parser that creates a QueryParser for each UserQuery request.CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser)Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser -
Uses of Analyzer in org.apache.lucene.xmlparser.builders
Methods in org.apache.lucene.xmlparser.builders with parameters of type Analyzer Modifier and Type Method Description protected QueryParserUserInputQueryBuilder. createQueryParser(String fieldName, Analyzer analyzer)Method to create a QueryParser - designed to be overriddenConstructors in org.apache.lucene.xmlparser.builders with parameters of type Analyzer Constructor Description FuzzyLikeThisQueryBuilder(Analyzer analyzer)LikeThisQueryBuilder(Analyzer analyzer, String[] defaultFieldNames)SpanOrTermsBuilder(Analyzer analyzer)TermsFilterBuilder(Analyzer analyzer)TermsQueryBuilder(Analyzer analyzer)UserInputQueryBuilder(String defaultField, Analyzer analyzer)
-