You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an exception in neural query when I use it with the explain flag and in "by doc_id" mode. Response looks something like this, and there is no exceptions in the server log:
{
"error": {
"root_cause": [
{
"type": "query_shard_exception",
"reason": "failed to create query: async actions are left after rewrite",
"index": "my-nlp-index-1",
"index_uuid": "I6_pzGG3QBWw0B6KeOJ1pA"
}
],
"type": "query_shard_exception",
"reason": "failed to create query: async actions are left after rewrite",
"index": "my-nlp-index-1",
"index_uuid": "I6_pzGG3QBWw0B6KeOJ1pA",
"caused_by": {
"type": "illegal_state_exception",
"reason": "async actions are left after rewrite"
}
},
"status": 400
}
How can one reproduce the bug?
I tested it on latest main
Follow this steps, change ids from my examples to yours as needed
Spin up new test cluster locally
Update cluster level settings to allow ml running locally
POST {{base_url}}/my-nlp-index-1/_bulk?refresh
{"index":{}}
{"field1": 2,"vector": [0.4, 0.5, 0.2],"title": "basic", "name": "A West Virginia university women 's basketball team , officials , and a small gathering of fans are in a West Virginia arena .", "category": "novel", "price": 20}
{"index":{}}
{ "name": "I brought home the trophy", "category": "story", "price": 20, "field1": 10,"vector": [0.2, 0.2, 0.3],"title": "java"}
{"index":{}}
{"field1": 50,"vector": [4.2, 5.5, 8.9],"name": "Why would he go to all that effort for a free pack of ranch dressing?", "category": "story", "price": 10 }
{"index":{}}
{"vector": [0.3, 0.12, 3.3],"title": "python","name": "In the next 40-50 years I plan on opening up my own business.","category": "poem","price": 100}
{"index":{}}
{ "field1": 100,"vector": [0.2, 0.2, 0.3],"title": "java", "name": "Does he have a big family?", "category": "biography", "price": 70}
{"index":{}}
{"name": "She is my younger sister","category": "workbook","price": 25}
What is the bug?
There is an exception in neural query when I use it with the
explain
flag and in "by doc_id" mode. Response looks something like this, and there is no exceptions in the server log:How can one reproduce the bug?
I tested it on latest main
Follow this steps, change ids from my examples to yours as needed
For me the above query returns the response with error
Same query runs normally without explain flag or with the explain flag when used as parameter:
The text was updated successfully, but these errors were encountered: