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…
Reference in New Issue