public class TextPatternFuzzy extends TextPattern
Modifier and Type | Field and Description |
---|---|
protected String |
value |
MAX_UNLIMITED
Constructor and Description |
---|
TextPatternFuzzy(String value,
int maxEdits) |
TextPatternFuzzy(String value,
int maxEdits,
int prefixLength) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.lucene.index.Term |
getTerm(String fieldName) |
int |
hashCode() |
String |
toString() |
BLSpanQuery |
translate(QueryExecutionContext context)
Translate this TextPattern into a BLSpanQuery.
|
clausesToString
protected String value
public TextPatternFuzzy(String value, int maxEdits)
public TextPatternFuzzy(String value, int maxEdits, int prefixLength)
public org.apache.lucene.index.Term getTerm(String fieldName)
public BLSpanQuery translate(QueryExecutionContext context)
TextPattern
translate
in class TextPattern
context
- query execution context to usepublic boolean equals(Object obj)
equals
in class TextPattern
public int hashCode()
hashCode
in class TextPattern
public String toString()
toString
in class TextPattern
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.