|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Similarity | |
---|---|
org.apache.lucene.index | Code to maintain and access indices. |
org.apache.lucene.index.pruning |
Static Index Pruning Tools |
org.apache.lucene.misc | Miscellaneous index tools. |
org.apache.lucene.search | Code to search indices. |
org.apache.lucene.search.payloads | The payloads package provides Query mechanisms for finding and using payloads. |
org.apache.lucene.search.similar | Document similarity query generators. |
org.apache.lucene.search.spans | The calculus of spans. |
org.apache.lucene.store.instantiated | InstantiatedIndex, alternative RAM store for small corpora. |
Uses of Similarity in org.apache.lucene.index |
---|
Methods in org.apache.lucene.index that return Similarity | |
---|---|
Similarity |
IndexWriterConfig.getSimilarity()
Expert: returns the Similarity implementation used by this
IndexWriter. |
Similarity |
IndexWriter.getSimilarity()
Deprecated. use IndexWriterConfig.getSimilarity() instead |
Methods in org.apache.lucene.index with parameters of type Similarity | |
---|---|
IndexWriterConfig |
IndexWriterConfig.setSimilarity(Similarity similarity)
Expert: set the Similarity implementation used by this IndexWriter. |
void |
IndexWriter.setSimilarity(Similarity similarity)
Deprecated. use IndexWriterConfig.setSimilarity(Similarity) instead |
Constructors in org.apache.lucene.index with parameters of type Similarity | |
---|---|
FieldNormModifier(Directory d,
Similarity s)
Deprecated. Constructor for code that wishes to use this class programmatically If Similarity is null, kill the field norms. |
Uses of Similarity in org.apache.lucene.index.pruning |
---|
Constructors in org.apache.lucene.index.pruning with parameters of type Similarity | |
---|---|
CarmelTopKTermPruningPolicy(IndexReader in,
Map<String,Integer> fieldFlags,
int k,
float epsilon,
int r,
Similarity sim)
Constructor with specific settings |
|
CarmelUniformTermPruningPolicy(IndexReader in,
Map<String,Integer> fieldFlags,
Map<String,Float> thresholds,
float defThreshold,
Similarity sim)
|
Uses of Similarity in org.apache.lucene.misc |
---|
Subclasses of Similarity in org.apache.lucene.misc | |
---|---|
class |
SweetSpotSimilarity
A similarity with a lengthNorm that provides for a "plateau" of equally good lengths, and tf helper functions. |
Uses of Similarity in org.apache.lucene.search |
---|
Subclasses of Similarity in org.apache.lucene.search | |
---|---|
class |
DefaultSimilarity
Expert: Default scoring implementation. |
class |
SimilarityDelegator
Deprecated. this class will be removed in 4.0. Please subclass Similarity or DefaultSimilarity instead. |
Fields in org.apache.lucene.search declared as Similarity | |
---|---|
protected Similarity |
DisjunctionMaxQuery.DisjunctionMaxWeight.similarity
The Similarity implementation. |
protected Similarity |
BooleanQuery.BooleanWeight.similarity
The Similarity implementation. |
Methods in org.apache.lucene.search that return Similarity | |
---|---|
static Similarity |
Similarity.getDefault()
Return the default Similarity implementation used by indexing and search code. |
Similarity |
ScoreCachingWrappingScorer.getSimilarity()
|
Similarity |
IndexSearcher.getSimilarity()
|
Similarity |
Searcher.getSimilarity()
Deprecated. Expert: Return the Similarity implementation used by this Searcher. |
Similarity |
Scorer.getSimilarity()
Deprecated. Store any Similarity you might need privately in your implementation instead. |
Similarity |
Query.getSimilarity(Searcher searcher)
Deprecated. Instead of using "runtime" subclassing/delegation, subclass the Weight instead. |
Methods in org.apache.lucene.search with parameters of type Similarity | |
---|---|
static void |
Similarity.setDefault(Similarity similarity)
Set the default Similarity implementation used by indexing and search code. |
void |
IndexSearcher.setSimilarity(Similarity similarity)
Expert: Set the Similarity implementation used by this Searcher. |
void |
Searcher.setSimilarity(Similarity similarity)
Deprecated. Expert: Set the Similarity implementation used by this Searcher. |
Constructors in org.apache.lucene.search with parameters of type Similarity | |
---|---|
ConstantScoreQuery.ConstantScorer(Similarity similarity,
DocIdSetIterator docIdSetIterator,
Weight w)
|
|
Scorer(Similarity similarity)
Deprecated. Use Scorer.Scorer(Weight) instead. |
|
Scorer(Similarity similarity,
Weight weight)
Deprecated. Use Scorer.Scorer(Weight) instead. |
|
SimilarityDelegator(Similarity delegee)
Deprecated. Construct a Similarity that delegates all methods to another. |
Uses of Similarity in org.apache.lucene.search.payloads |
---|
Methods in org.apache.lucene.search.payloads with parameters of type Similarity | |
---|---|
protected void |
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer.processPayload(Similarity similarity)
|
Constructors in org.apache.lucene.search.payloads with parameters of type Similarity | |
---|---|
PayloadNearQuery.PayloadNearSpanScorer(Spans spans,
Weight weight,
Similarity similarity,
byte[] norms)
|
|
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer(TermSpans spans,
Weight weight,
Similarity similarity,
byte[] norms)
|
Uses of Similarity in org.apache.lucene.search.similar |
---|
Methods in org.apache.lucene.search.similar that return Similarity | |
---|---|
Similarity |
MoreLikeThis.getSimilarity()
|
Methods in org.apache.lucene.search.similar with parameters of type Similarity | |
---|---|
void |
MoreLikeThis.setSimilarity(Similarity similarity)
|
Constructors in org.apache.lucene.search.similar with parameters of type Similarity | |
---|---|
MoreLikeThis(IndexReader ir,
Similarity sim)
|
Uses of Similarity in org.apache.lucene.search.spans |
---|
Fields in org.apache.lucene.search.spans declared as Similarity | |
---|---|
protected Similarity |
SpanWeight.similarity
|
Constructors in org.apache.lucene.search.spans with parameters of type Similarity | |
---|---|
SpanScorer(Spans spans,
Weight weight,
Similarity similarity,
byte[] norms)
|
Uses of Similarity in org.apache.lucene.store.instantiated |
---|
Methods in org.apache.lucene.store.instantiated that return Similarity | |
---|---|
Similarity |
InstantiatedIndexWriter.getSimilarity()
Deprecated. |
Methods in org.apache.lucene.store.instantiated with parameters of type Similarity | |
---|---|
void |
InstantiatedIndexWriter.setSimilarity(Similarity similarity)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |