public enum ScoreMode extends Enum<ScoreMode>
PhraseQuery
relevancy.Enum Constant and Description |
---|
BM11
BM25 scoring with b coefficient of 1.0
|
BM15
BM25 scoring with b coefficient of 0.0
|
CONSTANT
Constant scoring.
|
POSITION
Position based scoring.
|
TFIDF
BM25 based scoring (default).
|
Modifier and Type | Method and Description |
---|---|
static ScoreMode |
valueOf(Query query)
Get the scoring mode set for
query . |
static ScoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreMode TFIDF
public static final ScoreMode CONSTANT
public static final ScoreMode POSITION
public static final ScoreMode BM11
public static final ScoreMode BM15
public static ScoreMode[] values()
for (ScoreMode c : ScoreMode.values()) System.out.println(c);
public static ScoreMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.