Package org.elasticsearch.index.fielddata

Examples of org.elasticsearch.index.fielddata.IndexFieldData


            final FieldMapper<?> mapper = context.smartNameFieldMapper(fieldName);
            if(mapper == null) {
                throw new FacetPhaseExecutionException(fieldName, "no mapping found for " + fieldName);
            }
            final FieldDataType fieldDataType = mapper.fieldDataType();
            final IndexFieldData fieldData = context.fieldData().getForField(mapper);
            return new TypedFieldData(fieldData, fieldDataType);
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.fielddata.IndexFieldData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.