Skip to content

"Computing updated ranks for results failed" / "cannot window a sequence without a configured span", #127477

Open
@sergey-tihon

Description

@sergey-tihon

Elasticsearch Version

8.18.0

Installed Plugins

No response

Java Version

bundled

OS Version

elastic cloud

Problem Description

tokenizer used behind text_similarity_reranker with (model .rerank-v1) cannot tokened some texts / characters.
same query worked with 8.17.3 and looks like work with 9.0.0, but for some magical reason does not work with 8.18.0

GET /documents/_search
{
  "retriever": {
    "text_similarity_reranker": {
      "field": "content",
      "inference_id": "elastic-rerank",
      "inference_text": "about us",
      "min_score": 0.05,
      "rank_window_size": 1,
      "retriever": {
        "standard": {
          "query": {
           ....
          }
         }
       }
      }
    }
  },
  "size": 1
}

Steps to Reproduce

I am not sure exactly but it may be one of the following symbols \uA0, \u2013, \u2014 or \u200B inside the content field (at least i do not see other special symbols inside content field

throw new IllegalArgumentException("cannot window a sequence without a configured span");

Logs (if relevant)

here is server response with stack trace

{
  "error" : {
    "root_cause" : [
      {
        "type" : "status_exception",
        "reason" : "[text_similarity_reranker] search failed - retrievers '[standard]' returned errors. All failures are attached as suppressed exceptions.",
        "stack_trace" : "org.elasticsearch.ElasticsearchStatusException: [text_similarity_reranker] search failed - retrievers '[standard]' returned errors. All failures are attached as suppressed exceptions.\n\tat [email protected]/org.elasticsearch.search.retriever.CompoundRetrieverBuilder$1.onResponse(CompoundRetrieverBuilder.java:180)\n\tat [email protected]/org.elasticsearch.search.retriever.CompoundRetrieverBuilder$1.onResponse(CompoundRetrieverBuilder.java:149)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:203)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:197)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onResponse(ActionListenerImplementations.java:336)\n\tat [email protected]/org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:33)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:97)\n\tat [email protected]/org.elasticsearch.action.ActionListener.respondAndRelease(ActionListener.java:375)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.finish(TransportMultiSearchAction.java:186)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.handleResponse(TransportMultiSearchAction.java:181)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.onFailure(TransportMultiSearchAction.java:174)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunAfterActionListener.onFailure(ActionListenerImplementations.java:307)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener$FailureResult.complete(SubscribableListener.java:399)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.tryComplete(SubscribableListener.java:311)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.setResult(SubscribableListener.java:336)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.onFailure(SubscribableListener.java:255)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:215)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onFailure(ActionListenerImplementations.java:346)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:40)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.search.TransportSearchAction$SearchResponseActionListener.onFailure(TransportSearchAction.java:1970)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunAfterActionListener.onFailure(ActionListenerImplementations.java:307)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.raisePhaseFailure(AbstractSearchAsyncAction.java:746)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:723)\n\tat [email protected]/org.elasticsearch.action.search.RankFeaturePhase$3.onFailure(RankFeaturePhase.java:197)\n\tat [email protected]/org.elasticsearch.action.support.AbstractThreadedActionListener$1.doRun(AbstractThreadedActionListener.java:46)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:34)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n\tSuppressed: Failed to execute phase [rank-feature], Computing updated ranks for results failed\n\t\t... 10 more\n\tCaused by: java.lang.IllegalArgumentException: cannot window a sequence without a configured span\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.TokenizationResult.<init>(TokenizationResult.java:40)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaTokenizationResult.<init>(DebertaTokenizationResult.java:35)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaV2Tokenizer.buildTokenizationResult(DebertaV2Tokenizer.java:130)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.TextSimilarityProcessor$RequestBuilder.buildRequest(TextSimilarityProcessor.java:78)\n\t\tat org.elasticsearch.xpack.ml.inference.deployment.InferencePyTorchAction.doRun(InferencePyTorchAction.java:132)\n\t\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\t\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\t\tat org.elasticsearch.xpack.ml.inference.pytorch.PriorityProcessWorkerExecutorService$OrderedRunnable.run(PriorityProcessWorkerExecutorService.java:54)\n\t\tat org.elasticsearch.xpack.ml.job.process.AbstractProcessWorkerExecutorService.start(AbstractProcessWorkerExecutorService.java:113)\n\t\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)\n\t\tat java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\t\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\t\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\t\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\t\tat java.lang.Thread.run(Thread.java:1447)\n",
        "suppressed" : [
          {
            "type" : "search_phase_execution_exception",
            "reason" : "Computing updated ranks for results failed",
            "phase" : "rank-feature",
            "grouped" : true,
            "failed_shards" : [ ],
            "stack_trace" : "Failed to execute phase [rank-feature], Computing updated ranks for results failed\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:723)\n\tat [email protected]/org.elasticsearch.action.search.RankFeaturePhase$3.onFailure(RankFeaturePhase.java:197)\n\tat [email protected]/org.elasticsearch.action.support.AbstractThreadedActionListener$1.doRun(AbstractThreadedActionListener.java:46)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:34)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\nCaused by: java.lang.IllegalArgumentException: cannot window a sequence without a configured span\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.TokenizationResult.<init>(TokenizationResult.java:40)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaTokenizationResult.<init>(DebertaTokenizationResult.java:35)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaV2Tokenizer.buildTokenizationResult(DebertaV2Tokenizer.java:130)\n\tat org.elasticsearch.xpack.ml.inference.nlp.TextSimilarityProcessor$RequestBuilder.buildRequest(TextSimilarityProcessor.java:78)\n\tat org.elasticsearch.xpack.ml.inference.deployment.InferencePyTorchAction.doRun(InferencePyTorchAction.java:132)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat org.elasticsearch.xpack.ml.inference.pytorch.PriorityProcessWorkerExecutorService$OrderedRunnable.run(PriorityProcessWorkerExecutorService.java:54)\n\tat org.elasticsearch.xpack.ml.job.process.AbstractProcessWorkerExecutorService.start(AbstractProcessWorkerExecutorService.java:113)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.lang.Thread.run(Thread.java:1447)\n"
          }
        ]
      }
    ],
    "type" : "status_exception",
    "reason" : "[text_similarity_reranker] search failed - retrievers '[standard]' returned errors. All failures are attached as suppressed exceptions.",
    "stack_trace" : "org.elasticsearch.ElasticsearchStatusException: [text_similarity_reranker] search failed - retrievers '[standard]' returned errors. All failures are attached as suppressed exceptions.\n\tat [email protected]/org.elasticsearch.search.retriever.CompoundRetrieverBuilder$1.onResponse(CompoundRetrieverBuilder.java:180)\n\tat [email protected]/org.elasticsearch.search.retriever.CompoundRetrieverBuilder$1.onResponse(CompoundRetrieverBuilder.java:149)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:203)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onResponse(TaskManager.java:197)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onResponse(ActionListenerImplementations.java:336)\n\tat [email protected]/org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:33)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$MappedActionListener.onResponse(ActionListenerImplementations.java:97)\n\tat [email protected]/org.elasticsearch.action.ActionListener.respondAndRelease(ActionListener.java:375)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.finish(TransportMultiSearchAction.java:186)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.handleResponse(TransportMultiSearchAction.java:181)\n\tat [email protected]/org.elasticsearch.action.search.TransportMultiSearchAction$1.onFailure(TransportMultiSearchAction.java:174)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunAfterActionListener.onFailure(ActionListenerImplementations.java:307)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener$FailureResult.complete(SubscribableListener.java:399)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.tryComplete(SubscribableListener.java:311)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.setResult(SubscribableListener.java:336)\n\tat [email protected]/org.elasticsearch.action.support.SubscribableListener.onFailure(SubscribableListener.java:255)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:215)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onFailure(ActionListenerImplementations.java:346)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.support.ContextPreservingActionListener.onFailure(ContextPreservingActionListener.java:40)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.search.TransportSearchAction$SearchResponseActionListener.onFailure(TransportSearchAction.java:1970)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:64)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:75)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:32)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunAfterActionListener.onFailure(ActionListenerImplementations.java:307)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.raisePhaseFailure(AbstractSearchAsyncAction.java:746)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:723)\n\tat [email protected]/org.elasticsearch.action.search.RankFeaturePhase$3.onFailure(RankFeaturePhase.java:197)\n\tat [email protected]/org.elasticsearch.action.support.AbstractThreadedActionListener$1.doRun(AbstractThreadedActionListener.java:46)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:34)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\n\tSuppressed: Failed to execute phase [rank-feature], Computing updated ranks for results failed\n\t\t... 10 more\n\tCaused by: java.lang.IllegalArgumentException: cannot window a sequence without a configured span\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.TokenizationResult.<init>(TokenizationResult.java:40)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaTokenizationResult.<init>(DebertaTokenizationResult.java:35)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaV2Tokenizer.buildTokenizationResult(DebertaV2Tokenizer.java:130)\n\t\tat org.elasticsearch.xpack.ml.inference.nlp.TextSimilarityProcessor$RequestBuilder.buildRequest(TextSimilarityProcessor.java:78)\n\t\tat org.elasticsearch.xpack.ml.inference.deployment.InferencePyTorchAction.doRun(InferencePyTorchAction.java:132)\n\t\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\t\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\t\tat org.elasticsearch.xpack.ml.inference.pytorch.PriorityProcessWorkerExecutorService$OrderedRunnable.run(PriorityProcessWorkerExecutorService.java:54)\n\t\tat org.elasticsearch.xpack.ml.job.process.AbstractProcessWorkerExecutorService.start(AbstractProcessWorkerExecutorService.java:113)\n\t\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)\n\t\tat java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\t\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\t\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\t\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\t\tat java.lang.Thread.run(Thread.java:1447)\n",
    "suppressed" : [
      {
        "type" : "search_phase_execution_exception",
        "reason" : "Computing updated ranks for results failed",
        "phase" : "rank-feature",
        "grouped" : true,
        "failed_shards" : [ ],
        "caused_by" : {
          "type" : "illegal_argument_exception",
          "reason" : "cannot window a sequence without a configured span",
          "stack_trace" : "java.lang.IllegalArgumentException: cannot window a sequence without a configured span\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.TokenizationResult.<init>(TokenizationResult.java:40)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaTokenizationResult.<init>(DebertaTokenizationResult.java:35)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaV2Tokenizer.buildTokenizationResult(DebertaV2Tokenizer.java:130)\n\tat org.elasticsearch.xpack.ml.inference.nlp.TextSimilarityProcessor$RequestBuilder.buildRequest(TextSimilarityProcessor.java:78)\n\tat org.elasticsearch.xpack.ml.inference.deployment.InferencePyTorchAction.doRun(InferencePyTorchAction.java:132)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat org.elasticsearch.xpack.ml.inference.pytorch.PriorityProcessWorkerExecutorService$OrderedRunnable.run(PriorityProcessWorkerExecutorService.java:54)\n\tat org.elasticsearch.xpack.ml.job.process.AbstractProcessWorkerExecutorService.start(AbstractProcessWorkerExecutorService.java:113)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.lang.Thread.run(Thread.java:1447)\n"
        },
        "stack_trace" : "Failed to execute phase [rank-feature], Computing updated ranks for results failed\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:723)\n\tat [email protected]/org.elasticsearch.action.search.RankFeaturePhase$3.onFailure(RankFeaturePhase.java:197)\n\tat [email protected]/org.elasticsearch.action.support.AbstractThreadedActionListener$1.doRun(AbstractThreadedActionListener.java:46)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:34)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.base/java.lang.Thread.run(Thread.java:1447)\nCaused by: java.lang.IllegalArgumentException: cannot window a sequence without a configured span\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.TokenizationResult.<init>(TokenizationResult.java:40)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaTokenizationResult.<init>(DebertaTokenizationResult.java:35)\n\tat org.elasticsearch.xpack.ml.inference.nlp.tokenizers.DebertaV2Tokenizer.buildTokenizationResult(DebertaV2Tokenizer.java:130)\n\tat org.elasticsearch.xpack.ml.inference.nlp.TextSimilarityProcessor$RequestBuilder.buildRequest(TextSimilarityProcessor.java:78)\n\tat org.elasticsearch.xpack.ml.inference.deployment.InferencePyTorchAction.doRun(InferencePyTorchAction.java:132)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)\n\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)\n\tat org.elasticsearch.xpack.ml.inference.pytorch.PriorityProcessWorkerExecutorService$OrderedRunnable.run(PriorityProcessWorkerExecutorService.java:54)\n\tat org.elasticsearch.xpack.ml.job.process.AbstractProcessWorkerExecutorService.start(AbstractProcessWorkerExecutorService.java:113)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:328)\n\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)\n\tat java.lang.Thread.run(Thread.java:1447)\n"
      }
    ]
  },
  "status" : 400
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Relevance/AnalysisHow text is split into tokens:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance team:mlMachine learning>bugTeam:Search RelevanceMeta label for the Search Relevance team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions