private void putValues(EsRequest doc, EsIndexColumn column, Object[] value) {
        Object[] columnValue = column.columnValues(value);
        int[] ln = new int[columnValue.length];
        String[] lc = new String[columnValue.length];
        String[] uc = new String[columnValue.length];

        for (int i = 0; i < columnValue.length; i++) {
            String stringValue = column.stringValue(columnValue[i]);
            lc[i] = stringValue.toLowerCase();
            uc[i] = stringValue.toUpperCase();
            ln[i] = stringValue.length();
        }

        doc.put(column.getName(), columnValue);
        doc.put(column.getLowerCaseFieldName(), lc);
        doc.put(column.getUpperCaseFieldName(), uc);
        doc.put(column.getLengthFieldName(), ln);
    }
private void putValues ( EsRequest doc , EsIndexColumn column , Object [ ] value ) { Object [ ] columnValue = column . columnValues ( value ) ; int [ ] ln = new int [ columnValue . length ] ; String [ ] lc = new String [ columnValue . length ] ; String [ ] uc = new String [ columnValue . length ] ; for ( int i = 0 ; i < columnValue . length ; i ++ ) { String stringValue = column . stringValue ( columnValue [ i ] ) ; lc [ i ] = stringValue . toLowerCase ( ) ; uc [ i ] = stringValue . toUpperCase ( ) ; ln [ i ] = stringValue . length ( ) ; } doc . put ( column . getName ( ) , columnValue ) ; doc . put ( column . getLowerCaseFieldName ( ) , lc ) ; doc . put ( column . getUpperCaseFieldName ( ) , uc ) ; doc . put ( column . getLengthFieldName ( ) , ln ) ; }
Appends specified values for the given column and related pseudo columns
into list of properties.

@param doc list of properties in json format
@param column colum definition
@param value column's value.