|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface FieldMapper<T>
Nested Class Summary | |
---|---|
static class |
FieldMapper.Names
|
Method Summary | |
---|---|
boolean |
analyzed()
|
float |
boost()
|
FieldDataType |
fieldDataType()
|
org.apache.lucene.search.Filter |
fieldFilter(java.lang.String value)
|
org.apache.lucene.search.Query |
fieldQuery(java.lang.String value,
QueryParseContext context)
A field query for the specified value. |
org.apache.lucene.search.Query |
fuzzyQuery(java.lang.String value,
double minSim,
int prefixLength,
int maxExpansions)
|
org.apache.lucene.search.Query |
fuzzyQuery(java.lang.String value,
java.lang.String minSim,
int prefixLength,
int maxExpansions)
|
org.apache.lucene.document.Field.Index |
index()
|
org.apache.lucene.analysis.Analyzer |
indexAnalyzer()
The analyzer that will be used to index the field. |
boolean |
indexed()
|
java.lang.String |
indexedValue(java.lang.String value)
Returns the indexed value. |
FieldMapper.Names |
names()
|
boolean |
omitNorms()
|
boolean |
omitTermFreqAndPositions()
|
org.apache.lucene.search.Query |
queryStringTermQuery(org.apache.lucene.index.Term term)
A term query to use when parsing a query string. |
org.apache.lucene.search.Filter |
rangeFilter(java.lang.String lowerTerm,
java.lang.String upperTerm,
boolean includeLower,
boolean includeUpper)
Constructs a range query filter based on the mapper. |
org.apache.lucene.search.Query |
rangeQuery(java.lang.String lowerTerm,
java.lang.String upperTerm,
boolean includeLower,
boolean includeUpper)
Constructs a range query based on the mapper. |
org.apache.lucene.analysis.Analyzer |
searchAnalyzer()
The analyzer that will be used to search the field. |
org.apache.lucene.document.Field.Store |
store()
|
boolean |
stored()
|
org.apache.lucene.document.Field.TermVector |
termVector()
|
boolean |
useFieldQueryWithQueryString()
Should the field query fieldQuery(String, org.elasticsearch.index.query.QueryParseContext) be used when detecting this
field in query string. |
T |
value(org.apache.lucene.document.Fieldable field)
Returns the actual value of the field. |
java.lang.String |
valueAsString(org.apache.lucene.document.Fieldable field)
Returns the actual value of the field as string. |
java.lang.Object |
valueForSearch(org.apache.lucene.document.Fieldable field)
Returns the value that will be used as a result for search. |
T |
valueFromString(java.lang.String value)
|
Method Detail |
---|
FieldMapper.Names names()
org.apache.lucene.document.Field.Index index()
boolean indexed()
boolean analyzed()
org.apache.lucene.document.Field.Store store()
boolean stored()
org.apache.lucene.document.Field.TermVector termVector()
float boost()
boolean omitNorms()
boolean omitTermFreqAndPositions()
org.apache.lucene.analysis.Analyzer indexAnalyzer()
org.apache.lucene.analysis.Analyzer searchAnalyzer()
java.lang.Object valueForSearch(org.apache.lucene.document.Fieldable field)
T value(org.apache.lucene.document.Fieldable field)
T valueFromString(java.lang.String value)
java.lang.String valueAsString(org.apache.lucene.document.Fieldable field)
java.lang.String indexedValue(java.lang.String value)
boolean useFieldQueryWithQueryString()
fieldQuery(String, org.elasticsearch.index.query.QueryParseContext)
be used when detecting this
field in query string.
org.apache.lucene.search.Query fieldQuery(java.lang.String value, QueryParseContext context)
org.apache.lucene.search.Query fuzzyQuery(java.lang.String value, java.lang.String minSim, int prefixLength, int maxExpansions)
org.apache.lucene.search.Query fuzzyQuery(java.lang.String value, double minSim, int prefixLength, int maxExpansions)
org.apache.lucene.search.Query queryStringTermQuery(org.apache.lucene.index.Term term)
org.apache.lucene.search.Filter fieldFilter(java.lang.String value)
org.apache.lucene.search.Query rangeQuery(java.lang.String lowerTerm, java.lang.String upperTerm, boolean includeLower, boolean includeUpper)
org.apache.lucene.search.Filter rangeFilter(java.lang.String lowerTerm, java.lang.String upperTerm, boolean includeLower, boolean includeUpper)
FieldDataType fieldDataType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |