StringFieldBuilder function ( ) { this . disableNorms = true ; return this ; }
norms consume useless memory if string field is used for filtering or aggregations . https://www.elastic.co/guide/en/elasticsearch/reference/2.3/norms.html https://www.elastic.co/guide/en/elasticsearch/guide/current/scoring-theory.html#field-norm concode_field_sep SortedMap<String,NewIndexType> types concode_elem_sep int DEFAULT_NUMBER_OF_SHARDS concode_elem_sep String fieldName concode_elem_sep Map<String,Object> properties concode_elem_sep Map<String,Object> attributes concode_elem_sep boolean hasAnalyzedField concode_elem_sep String indexName concode_elem_sep boolean docValues concode_elem_sep ImmutableSettings.Builder settings concode_elem_sep boolean disableSearch concode_elem_sep SortedMap<String,Object> subFields concode_elem_sep boolean disableNorms concode_elem_sep NewIndexType indexType concode_elem_sep String name concode_elem_sep NewIndexType nestedType concode_field_sep StringFieldBuilder enableGramSearch concode_elem_sep NewIndexType createDoubleField concode_elem_sep String getName concode_elem_sep String getName concode_elem_sep NewIndexType createDynamicNestedField concode_elem_sep ImmutableSettings.Builder getSettings concode_elem_sep void configureShards concode_elem_sep NewIndexType createDateTimeField concode_elem_sep void refreshHandledByIndexer concode_elem_sep NewIndexType createType concode_elem_sep StringFieldBuilder docValues concode_elem_sep StringFieldBuilder enableSorting concode_elem_sep StringFieldBuilder addSubField concode_elem_sep StringFieldBuilder stringFieldBuilder concode_elem_sep NewIndexType setAttribute concode_elem_sep NestedObjectBuilder nestedObjectBuilder concode_elem_sep StringFieldBuilder enableWordSearch concode_elem_sep NewIndexType createIntegerField concode_elem_sep void validate concode_elem_sep Map<String,Object> getAttributes concode_elem_sep Object getProperty concode_elem_sep NewIndexType setEnableSource concode_elem_sep NewIndexType createLongField concode_elem_sep StringFieldBuilder disableSearch concode_elem_sep NewIndexType createByteField concode_elem_sep NewIndexType createUuidPathField concode_elem_sep void build concode_elem_sep void build concode_elem_sep NewIndexType setProperty concode_elem_sep NewIndexType createShortField concode_elem_sep SortedMap<String,NewIndexType> getTypes concode_elem_sep NewIndexType createBooleanField