Skip to content

Commit a789f74

Browse files
committed
Fix incorrect indentation in TextFieldMapper.
1 parent 7684ae8 commit a789f74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/index/mapper/TextFieldMapper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,10 @@ public static boolean hasGaps(TokenStream stream) throws IOException {
751751
@Override
752752
public IndexFieldData.Builder fielddataBuilder(String fullyQualifiedIndexName) {
753753
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 "
756756
+ "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.");
758758
}
759759
return new PagedBytesIndexFieldData.Builder(fielddataMinFrequency, fielddataMaxFrequency, fielddataMinSegmentSize);
760760
}

0 commit comments

Comments
 (0)