Examples of FIELD_DATA_TYPE


Examples of com.pearson.entech.elasticsearch.search.facet.approx.termlist.Constants.FIELD_DATA_TYPE

     * gets the field data type from the _indexFieldData object
     * @return
     */
    private Constants.FIELD_DATA_TYPE getType() {
        final boolean numericField = (_indexFieldData instanceof IndexNumericFieldData);
        FIELD_DATA_TYPE type = FIELD_DATA_TYPE.STRING;
        if(numericField) {
            final IndexNumericFieldData<?> indexNumericFieldData = (IndexNumericFieldData<?>) _indexFieldData;
            if(indexNumericFieldData.getNumericType() == IndexNumericFieldData.NumericType.LONG)
                type = FIELD_DATA_TYPE.LONG;
            if(indexNumericFieldData.getNumericType() == IndexNumericFieldData.NumericType.INT)
View Full Code Here

Examples of com.pearson.entech.elasticsearch.search.facet.approx.termlist.Constants.FIELD_DATA_TYPE

        //check the data type of the field
        //if it is numeric, get the type and pass the information to the PostExecutor
        //otherwise, handle strings

        final boolean numericField = (_indexFieldData instanceof IndexNumericFieldData);
        FIELD_DATA_TYPE type = FIELD_DATA_TYPE.STRING;
        if(numericField) {
            final IndexNumericFieldData<?> indexNumericFieldData = (IndexNumericFieldData<?>) _indexFieldData;
            if(indexNumericFieldData.getNumericType() == IndexNumericFieldData.NumericType.LONG)
                type = FIELD_DATA_TYPE.LONG;
            if(indexNumericFieldData.getNumericType() == IndexNumericFieldData.NumericType.INT)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.