File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1010import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
1111import com .carrotsearch .randomizedtesting .annotations .ThreadLeakFilters ;
1212
13- import org .apache .lucene .tests .util .LuceneTestCase ;
1413import org .elasticsearch .client .Request ;
1514import org .elasticsearch .client .Response ;
1615import org .elasticsearch .client .ResponseException ;
5251 * Tests for pushing queries to lucene.
5352 */
5453@ ThreadLeakFilters (filters = TestClustersThreadFilter .class )
55- @ LuceneTestCase .AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/128506" )
5654public class PushQueriesIT extends ESRestTestCase {
5755 @ ClassRule
5856 public static ElasticsearchCluster cluster = Clusters .testCluster (spec -> spec .plugin ("inference-service-test" ));
@@ -147,8 +145,8 @@ public void testEqualityAndOther() throws IOException {
147145 | WHERE test == "%value" AND foo == 1
148146 """ ;
149147 List <String > luceneQueryOptions = switch (type ) {
150- case "text" , "auto" -> List .of ("#test.keyword:%value -_ignored:test.keyword #foo:[1 TO 1] " );
151- case "match_only_text" -> List .of ("foo:[1 TO 1] " );
148+ case "text" , "auto" -> List .of ("#test.keyword:%value -_ignored:test.keyword" );
149+ case "match_only_text" -> List .of ("*:* " );
152150 case "semantic_text" ->
153151 /*
154152 * single_value_match is here because there are extra documents hiding in the index
You can’t perform that action at this time.
0 commit comments