mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
Percolation shouldn't fail when the _size field is enabled
This commit is contained in:
parent
227250aaa0
commit
a760f906e5
@ -137,6 +137,9 @@ public class SizeFieldMapper extends IntegerFieldMapper implements RootMapper {
|
||||
if (!enabled) {
|
||||
return null;
|
||||
}
|
||||
if (context.flyweight()) {
|
||||
return null;
|
||||
}
|
||||
return new CustomIntegerNumericField(this, context.source().length());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user