File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
server/src/main/java/org/elasticsearch/index/query Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1414import org .apache .lucene .search .Query ;
1515import org .apache .lucene .util .automaton .Automaton ;
1616import org .elasticsearch .TransportVersion ;
17- import org .elasticsearch .TransportVersions ;
1817import org .elasticsearch .common .Strings ;
1918import org .elasticsearch .common .io .stream .StreamOutput ;
2019import org .elasticsearch .xcontent .XContentBuilder ;
@@ -77,9 +76,8 @@ protected boolean doEquals(AutomatonQueryBuilder other) {
7776 return Objects .equals (fieldName , other .fieldName ) && Objects .equals (automaton , other .automaton );
7877 }
7978
80- // TO DO, what should be the minimal supported version?
8179 @ Override
8280 public TransportVersion getMinimalSupportedVersion () {
83- return TransportVersions . ZERO ;
81+ throw new UnsupportedOperationException ( "AutomatonQueryBuilder does not support getMinimalSupportedVersion" ) ;
8482 }
8583}
You can’t perform that action at this time.
0 commit comments