TermQuery for numerics are handled in 2 different ways in SingularTermDeletionQuery and in ConnectedMultiFieldsTermQueryBuilder. Moreover the implementation in SingularTermDeletionQuery was very low level and didn't take into account FieldBridges. This change might look a bit out of the blue but it's a part of my analyzer patch. |