File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
server/src/main/java/org/elasticsearch/index/query Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,6 @@ public RegexpQueryBuilder(StreamInput in) throws IOException {
95
95
fieldName = in .readString ();
96
96
value = in .readString ();
97
97
syntaxFlagsValue = in .readVInt ();
98
- if (in .getVersion ().before (Version .V_8_0_0 )) {
99
- // IMPORTANT - older versions of Lucene/elasticsearch used 0xffff to
100
- // represent ALL, but newer versions of Lucene will error given syntax flag
101
- // values > 0xff
102
- // Here, we mute the bits beyond 0xff to provide BWC
103
- syntaxFlagsValue = syntaxFlagsValue & RegExp87 .ALL ;
104
- }
105
98
maxDeterminizedStates = in .readVInt ();
106
99
rewrite = in .readOptionalString ();
107
100
if (in .getVersion ().onOrAfter (Version .V_8_0_0 )) {
You can’t perform that action at this time.
0 commit comments