fieldName
*/
private CategoryContextMapping(String name, String fieldName) {
super(Type.CATEGORY, name);
this.fieldName = fieldName;
}
/**
* Name of the field to get contexts from at index-time
*/
public String getFieldName() {
return fieldName;
}
/**
* Loads a name
d {@link CategoryContextMapping} instance
* from a map.
* see {@link ContextMappings#load(Object, Version)}
*
* Acceptable map param: path
*/
protected static CategoryContextMapping load(String name, Map[<string>, ..]
"string"
parser
. A QueryContexts accepts one of the following forms:
*
* [CategoryQueryContext, ..]
{"context": <string>, "boost": <int>, "prefix": <boolean>}
"string"