parent
5badf68bd9
commit
9f66b8cd38
|
@ -287,7 +287,7 @@ public class TextFieldMapper extends FieldMapper {
|
||||||
if (fielddata == false) {
|
if (fielddata == false) {
|
||||||
throw new IllegalArgumentException("Fielddata is disabled on text fields by default. Set fielddata=true on [" + name()
|
throw new IllegalArgumentException("Fielddata is disabled on text fields by default. Set fielddata=true on [" + name()
|
||||||
+ "] in order to load fielddata in memory by uninverting the inverted index. Note that this can however "
|
+ "] in order to load fielddata in memory by uninverting the inverted index. Note that this can however "
|
||||||
+ "use significant memory.");
|
+ "use significant memory. Alternatively use a keyword field instead.");
|
||||||
}
|
}
|
||||||
return new PagedBytesIndexFieldData.Builder(fielddataMinFrequency, fielddataMaxFrequency, fielddataMinSegmentSize);
|
return new PagedBytesIndexFieldData.Builder(fielddataMinFrequency, fielddataMaxFrequency, fielddataMinSegmentSize);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue