|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Version | |
---|---|
org.apache.lucene.analysis | API and code to convert text into indexable/searchable tokens. |
org.apache.lucene.analysis.standard | The org.apache.lucene.analysis.standard package contains three
fast grammar-based tokenizers constructed with JFlex: |
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.queryParser | A simple query parser implemented with JavaCC. |
org.apache.lucene.util | Some utility classes. |
Uses of Version in org.apache.lucene.analysis |
---|
Fields in org.apache.lucene.analysis declared as Version | |
---|---|
protected Version |
StopwordAnalyzerBase.matchVersion
|
Methods in org.apache.lucene.analysis with parameters of type Version | ||
---|---|---|
static
|
CharArrayMap.copy(Version matchVersion,
Map<?,? extends V> map)
Returns a copy of the given map as a CharArrayMap . |
|
static CharArraySet |
CharArraySet.copy(Version matchVersion,
Set<?> set)
Returns a copy of the given set as a CharArraySet . |
|
static boolean |
StopFilter.getEnablePositionIncrementsVersionDefault(Version matchVersion)
Deprecated. use StopFilter.StopFilter(Version, TokenStream, Set) instead |
|
static Set<Object> |
StopFilter.makeStopSet(Version matchVersion,
List<?> stopWords)
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. |
|
static Set<Object> |
StopFilter.makeStopSet(Version matchVersion,
List<?> stopWords,
boolean ignoreCase)
Creates a stopword set from the given stopword list. |
|
static Set<Object> |
StopFilter.makeStopSet(Version matchVersion,
String... stopWords)
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. |
|
static Set<Object> |
StopFilter.makeStopSet(Version matchVersion,
String[] stopWords,
boolean ignoreCase)
Creates a stopword set from the given stopword array. |
Constructors in org.apache.lucene.analysis with parameters of type Version | |
---|---|
CharArrayMap(Version matchVersion,
int startSize,
boolean ignoreCase)
Create map with enough capacity to hold startSize terms |
|
CharArrayMap(Version matchVersion,
Map<?,? extends V> c,
boolean ignoreCase)
Creates a map from the mappings in another map. |
|
CharArraySet(Version matchVersion,
Collection<?> c,
boolean ignoreCase)
Creates a set from a Collection of objects. |
|
CharArraySet(Version matchVersion,
int startSize,
boolean ignoreCase)
Create set with enough capacity to hold startSize terms |
|
CharTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new CharTokenizer instance |
|
CharTokenizer(Version matchVersion,
AttributeSource source,
Reader input)
Creates a new CharTokenizer instance |
|
CharTokenizer(Version matchVersion,
Reader input)
Creates a new CharTokenizer instance |
|
LetterTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LetterTokenizer using a given AttributeSource.AttributeFactory . |
|
LetterTokenizer(Version matchVersion,
AttributeSource source,
Reader in)
Construct a new LetterTokenizer using a given AttributeSource . |
|
LetterTokenizer(Version matchVersion,
Reader in)
Construct a new LetterTokenizer. |
|
LowerCaseFilter(Version matchVersion,
TokenStream in)
Create a new LowerCaseFilter, that normalizes token text to lower case. |
|
LowerCaseTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LowerCaseTokenizer using a given AttributeSource.AttributeFactory . |
|
LowerCaseTokenizer(Version matchVersion,
AttributeSource source,
Reader in)
Construct a new LowerCaseTokenizer using a given AttributeSource . |
|
LowerCaseTokenizer(Version matchVersion,
Reader in)
Construct a new LowerCaseTokenizer. |
|
SimpleAnalyzer(Version matchVersion)
Creates a new SimpleAnalyzer |
|
StopAnalyzer(Version matchVersion)
Builds an analyzer which removes words in StopAnalyzer.ENGLISH_STOP_WORDS_SET . |
|
StopAnalyzer(Version matchVersion,
File stopwordsFile)
Builds an analyzer with the stop words from the given file. |
|
StopAnalyzer(Version matchVersion,
Reader stopwords)
Builds an analyzer with the stop words from the given reader. |
|
StopAnalyzer(Version matchVersion,
Set<?> stopWords)
Builds an analyzer with the stop words from the given set. |
|
StopFilter(Version matchVersion,
TokenStream in,
Set<?> stopWords)
Constructs a filter which removes words from the input TokenStream that are named in the Set. |
|
StopFilter(Version matchVersion,
TokenStream input,
Set<?> stopWords,
boolean ignoreCase)
Construct a token stream filtering the given input. |
|
StopwordAnalyzerBase(Version version)
Creates a new Analyzer with an empty stopword set |
|
StopwordAnalyzerBase(Version version,
Set<?> stopwords)
Creates a new instance initialized with the given stopword set |
|
WhitespaceAnalyzer(Version matchVersion)
Creates a new WhitespaceAnalyzer |
|
WhitespaceTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Construct a new WhitespaceTokenizer using a given AttributeSource.AttributeFactory . |
|
WhitespaceTokenizer(Version matchVersion,
AttributeSource source,
Reader in)
Construct a new WhitespaceTokenizer using a given AttributeSource . |
|
WhitespaceTokenizer(Version matchVersion,
Reader in)
Construct a new WhitespaceTokenizer. |
Uses of Version in org.apache.lucene.analysis.standard |
---|
Constructors in org.apache.lucene.analysis.standard with parameters of type Version | |
---|---|
ClassicAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words ( ClassicAnalyzer.STOP_WORDS_SET ). |
|
ClassicAnalyzer(Version matchVersion,
File stopwords)
Builds an analyzer with the stop words from the given file. |
|
ClassicAnalyzer(Version matchVersion,
Reader stopwords)
Builds an analyzer with the stop words from the given reader. |
|
ClassicAnalyzer(Version matchVersion,
Set<?> stopWords)
Builds an analyzer with the given stop words. |
|
ClassicTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new ClassicTokenizer with a given AttributeSource.AttributeFactory |
|
ClassicTokenizer(Version matchVersion,
AttributeSource source,
Reader input)
Creates a new ClassicTokenizer with a given AttributeSource . |
|
ClassicTokenizer(Version matchVersion,
Reader input)
Creates a new instance of the ClassicTokenizer . |
|
StandardAnalyzer(Version matchVersion)
Builds an analyzer with the default stop words ( StandardAnalyzer.STOP_WORDS_SET ). |
|
StandardAnalyzer(Version matchVersion,
File stopwords)
Builds an analyzer with the stop words from the given file. |
|
StandardAnalyzer(Version matchVersion,
Reader stopwords)
Builds an analyzer with the stop words from the given reader. |
|
StandardAnalyzer(Version matchVersion,
Set<?> stopWords)
Builds an analyzer with the given stop words. |
|
StandardFilter(Version matchVersion,
TokenStream in)
|
|
StandardTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new StandardTokenizer with a given AttributeSource.AttributeFactory |
|
StandardTokenizer(Version matchVersion,
AttributeSource source,
Reader input)
Creates a new StandardTokenizer with a given AttributeSource . |
|
StandardTokenizer(Version matchVersion,
Reader input)
Creates a new instance of the StandardTokenizer . |
Uses of Version in org.apache.lucene.index |
---|
Constructors in org.apache.lucene.index with parameters of type Version | |
---|---|
IndexUpgrader(Directory dir,
Version matchVersion)
Creates index upgrader on the given directory, using an IndexWriter using the given
matchVersion . |
|
IndexUpgrader(Directory dir,
Version matchVersion,
PrintStream infoStream,
boolean deletePriorCommits)
Creates index upgrader on the given directory, using an IndexWriter using the given
matchVersion . |
|
IndexWriterConfig(Version matchVersion,
Analyzer analyzer)
Creates a new config that with defaults that match the specified Version as well as the default Analyzer . |
|
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary,
Directory dir,
IndexWriterConfig.OpenMode mode,
Version matchVersion)
PersistentSnapshotDeletionPolicy wraps another
IndexDeletionPolicy to enable flexible snapshotting. |
Uses of Version in org.apache.lucene.queryParser |
---|
Methods in org.apache.lucene.queryParser with parameters of type Version | |
---|---|
static Query |
MultiFieldQueryParser.parse(Version matchVersion,
String[] queries,
String[] fields,
Analyzer analyzer)
Parses a query which searches on the fields specified. |
static Query |
MultiFieldQueryParser.parse(Version matchVersion,
String[] queries,
String[] fields,
BooleanClause.Occur[] flags,
Analyzer analyzer)
Parses a query, searching on the fields specified. |
static Query |
MultiFieldQueryParser.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 Version | |
---|---|
MultiFieldQueryParser(Version matchVersion,
String[] fields,
Analyzer analyzer)
Creates a MultiFieldQueryParser. |
|
MultiFieldQueryParser(Version matchVersion,
String[] fields,
Analyzer analyzer,
Map<String,Float> boosts)
Creates a MultiFieldQueryParser. |
|
QueryParser(Version matchVersion,
String f,
Analyzer a)
Constructs a query parser. |
Uses of Version in org.apache.lucene.util |
---|
Methods in org.apache.lucene.util that return Version | |
---|---|
static Version |
Version.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Version[] |
Version.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.lucene.util with parameters of type Version | |
---|---|
static CharacterUtils |
CharacterUtils.getInstance(Version matchVersion)
Returns a CharacterUtils implementation according to the given
Version instance. |
boolean |
Version.onOrAfter(Version other)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |