Package | Description |
---|---|
gate.creole.annic.apache.lucene.index |
Code to maintain and access indices.
|
gate.creole.annic.apache.lucene.search |
Modifier and Type | Method and Description |
---|---|
Similarity |
IndexWriter.getSimilarity()
Expert: Return the Similarity implementation used by this IndexWriter.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.setSimilarity(Similarity similarity)
Expert: Set the Similarity implementation used by this IndexWriter.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSimilarity
Expert: Default scoring implementation.
|
Modifier and Type | Method and Description |
---|---|
static Similarity |
Similarity.getDefault()
Return the default Similarity implementation used by indexing and search
code.
|
Similarity |
Scorer.getSimilarity()
Returns the Similarity implementation used by this scorer.
|
Similarity |
Searcher.getSimilarity()
Expert: Return the Similarity implementation used by this Searcher.
|
Similarity |
Query.getSimilarity(Searcher searcher)
Expert: Returns the Similarity implementation to be used for this query.
|
Modifier and Type | Method and Description |
---|---|
static void |
Similarity.setDefault(Similarity similarity)
Set the default Similarity implementation used by indexing and search
code.
|
void |
Searcher.setSimilarity(Similarity similarity)
Expert: Set the Similarity implementation used by this Searcher.
|
Constructor and Description |
---|
Scorer(Similarity similarity)
Constructs a Scorer.
|
Copyright © 2024 GATE. All rights reserved.