public class ClauseCombinerNfa extends ClauseCombiner
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_NFA_THRESHOLD
The default value of nfaThreshold.
|
protected static org.apache.logging.log4j.Logger |
logger |
static long |
MAX_NFA_MATCHING
The maximum value of nfaFactor, meaning "make as many NFAs as possible".
|
static long |
NO_NFA_MATCHING
The minimum value of nfaFactor, meaning "make no NFAs".
|
CANNOT_COMBINE
Constructor and Description |
---|
ClauseCombinerNfa() |
Modifier and Type | Method and Description |
---|---|
BLSpanQuery |
combine(BLSpanQuery left,
BLSpanQuery right,
org.apache.lucene.index.IndexReader reader) |
static long |
getNfaThreshold() |
int |
priority(BLSpanQuery left,
BLSpanQuery right,
org.apache.lucene.index.IndexReader reader) |
static void |
setNfaMatchingEnabled(boolean doNfaMatching) |
static void |
setNfaThreshold(long nfaThreshold) |
String |
toString() |
all, canCombine
protected static final org.apache.logging.log4j.Logger logger
public static final long DEFAULT_NFA_THRESHOLD
public static final long MAX_NFA_MATCHING
public static final long NO_NFA_MATCHING
public static void setNfaThreshold(long nfaThreshold)
public static long getNfaThreshold()
public static void setNfaMatchingEnabled(boolean doNfaMatching)
public int priority(BLSpanQuery left, BLSpanQuery right, org.apache.lucene.index.IndexReader reader)
priority
in class ClauseCombiner
public BLSpanQuery combine(BLSpanQuery left, BLSpanQuery right, org.apache.lucene.index.IndexReader reader)
combine
in class ClauseCombiner
public String toString()
toString
in class ClauseCombiner
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.