Skip to content

Commit

Permalink
attempt to restart integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Ostanin <[email protected]>
  • Loading branch information
Kirill Ostanin committed Oct 24, 2023
1 parent 3b93a1b commit 65183f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public void testNeuralQueryFromJson() {
+ " \"query\": {\n"
+ " \"neural\": {\n"
+ " \"passage_embedding\": {\n"
+ " \"query_text\": \"Hi world\",\n"
+ " \"query_text\": \"Hi world!\",\n"
+ " \"model_id\": \"bQ1J8ooBpBj3wT4HVUsb\",\n"
+ " \"k\": 100\n"
+ " }\n"
Expand All @@ -239,7 +239,7 @@ public void testNeuralQueryFromJson() {
SearchRequest searchRequest = ModelTestCase.fromJson(json, SearchRequest.class, mapper);

assertEquals("passage_embedding", searchRequest.query().neural().field());
assertEquals("Hi world", searchRequest.query().neural().queryText());
assertEquals("Hi world!", searchRequest.query().neural().queryText());
assertEquals("bQ1J8ooBpBj3wT4HVUsb", searchRequest.query().neural().modelId());
assertEquals(100, searchRequest.query().neural().k());
}
Expand Down

0 comments on commit 65183f1

Please sign in to comment.