File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -751,10 +751,10 @@ public static boolean hasGaps(TokenStream stream) throws IOException {
751
751
@ Override
752
752
public IndexFieldData .Builder fielddataBuilder (String fullyQualifiedIndexName ) {
753
753
if (fielddata == false ) {
754
- throw new IllegalArgumentException ("Text fields are not optimised for operations that require per-document "
755
- + "field data like aggregations and sorting, so these operations are disabled by default. Please use a "
754
+ throw new IllegalArgumentException ("Text fields are not optimised for operations that require per-document "
755
+ + "field data like aggregations and sorting, so these operations are disabled by default. Please use a "
756
756
+ "keyword field instead. Alternatively, set fielddata=true on [" + name () + "] in order to load "
757
- + "field data by uninverting the inverted index. Note that this can use significant memory." );
757
+ + "field data by uninverting the inverted index. Note that this can use significant memory." );
758
758
}
759
759
return new PagedBytesIndexFieldData .Builder (fielddataMinFrequency , fielddataMaxFrequency , fielddataMinSegmentSize );
760
760
}
You can’t perform that action at this time.
0 commit comments