Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting can take 50% to 99% of search time #103298

Closed
quux00 opened this issue Dec 11, 2023 · 2 comments · Fixed by #105930
Closed

Highlighting can take 50% to 99% of search time #103298

quux00 opened this issue Dec 11, 2023 · 2 comments · Fixed by #105930
Labels
>bug :Search Relevance/Highlighting How a query matched a document Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@quux00
Copy link
Contributor

quux00 commented Dec 11, 2023

Elasticsearch Version

8.10.4 and 8.13.0-SNAPSHOT

Installed Plugins

No response

Java Version

bundled

OS Version

ESS Cloud and MacOS

Problem Description

A customer has reported that highlighting (added by Kibana) is causing their queries in Kibana to extremely slowly. Profiling of the queries showed that 99% of the search time is spent in the Highlight code paths. In their case, the ConstantScoreQuery took less than 1 second, but the highlighting runs for ~850s (this is reproducible).

I was able to reproduce this to some degree locally (details below), where a the highlighting takes ~50% of the total search time.

Root cause is not known. Key points include:

  • the query being run (by Kibana) is a match_phrase against match_only_text.

Steps to Reproduce

Here is how I (partially) reproduced the issue locally.

Use the following mapping to crate an index where message has match_only_text and 1 shard is created (I didn't test with more than 1 shard).

Mapping (toggle to view)
{
  "settings": {
    "index" : {
      "number_of_shards": 1,
      "number_of_replicas": 0
    }
  },
  "mappings": {
    "properties": {
      "@timestamp": {
        "type": "date"
      },
      "message": {
        "type": "match_only_text"
      },
      "kubernetes": {
        "properties": {
          "container": {
            "properties": {
              "name": {
                "type": "keyword",
                "ignore_above": 1024
              }
            }
          },
          "daemonset": {
            "properties": {
              "name": {
                "type": "keyword",
                "ignore_above": 1024
              }
            }
          },
          "deployment": {
            "properties": {
              "name": {
                "type": "keyword",
                "ignore_above": 1024
              }
            }
          }
        }
      },
      "bytes_sent": {
        "type": "long"
      },
      "content_type": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword",
            "ignore_above": 256
          }
        }
      },
      "geoip_location_lat": {
        "type": "float"
      },
      "geoip_location_lon": {
        "type": "float"
      },
      "is_https": {
        "type": "boolean"
      },
      "request": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword",
            "ignore_above": 256
          }
        }
      },
      "response": {
        "type": "long"
      },
      "runtime_ms": {
        "type": "long"
      },
      "url": {
        "type": "keyword"
      },
      "user_Agent": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword",
            "ignore_above": 256
          }
        }
      },
      "verb": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword",
            "ignore_above": 256
          }
        }
      }
    }
  }
}
  

Populate this index with at least 2.5 million records in scope for the search (see my table in comments below).

Data generation script (toggle to view)
import argparse
import ndjson
from faker import Faker
from datetime import datetime, timedelta
import random

def generate_fake_data(num_lines):
    fake = Faker()

    data = []
    timestamp = datetime.strptime("2021-04-06T14:00:00", "%Y-%m-%dT%H:%M:%S")
    for _ in range(num_lines):
        timestamp_str = timestamp.strftime("%Y-%m-%dT%H:%M:%S.000Z")
        timestamp += timedelta(seconds=5)

        # Generate a message with at least 85 words
        message_word_count = random.randint(85, 225)
        message = fake.paragraph(nb_sentences=1, ext_word_list=None)
        while len(message.split()) < message_word_count:
            message += " " + fake.paragraph(nb_sentences=1, ext_word_list=None)

        ri = random.randint(1,4)
        if ri == 2:
            message += ". request errored 123 forty-five 12:45 foobar " + fake.word() + " " + fake.word()
        elif ri == 3:
            message = "12345 California request completed - " + message

        deployment_name = "service-integrations"
        if ri > 2:
            deployment_name = fake.word()

        json_data = {
            "@timestamp": timestamp_str,
            "user_Agent": fake.user_agent(),
            "url": fake.uri_path(),
            "content_type": fake.mime_type(),
            "is_https": fake.boolean(),
            "response": fake.random_int(min=100, max=599),
            "verb": fake.http_method(),
            "geoip_location_lon": float(fake.longitude()),
            "geoip_location_lat": float(fake.latitude()),
            "bytes_sent": fake.random_int(min=1000, max=50000),
            "runtime_ms": fake.random_int(min=100, max=1000),
            "message": message,
            "kubernetes": {
                "container": {"name": fake.word()},
                "daemonset": {"name": fake.word()},
                "deployment": {"name": deployment_name}
            }
        }

        data.append(json_data)

    return data

def main():
    parser = argparse.ArgumentParser(description="Generate ndjson with Faker")
    parser.add_argument("num_lines", type=int, help="Number of lines to produce")
    args = parser.parse_args()

    fake_data = generate_fake_data(args.num_lines + 1)

    output_file_name = f"sdh7687-data-{args.num_lines}.json"
    with open(output_file_name, "w") as f:
        ndjson.dump(fake_data, f, ensure_ascii=False)

if __name__ == "__main__":
    main()

Loading script (toggle to view)
 #!/bin/bash

if [ "$#" -ne 2 ]; then
  echo "Usage: $0 <port> <input_file>"
  exit 1
fi

port="$1"
input="$2"
output="bulk.log"
counter=0
max_rows=10000
create='{"create": {}}'
bulk_data=$'\n'
default_port=9200

echo "Using port: $port"
echo "Creating sdh7687 index with mappings to http://localhost:$port ..."
/usr/bin/curl -s -XPUT "http://localhost:$port/sdh7687" -H 'Content-Type: application/json' --insecure --data-binary @sdh7687-mappings-not-match-only-text.json

echo ""
echo "Reading sdh7687 events from $input..."
while read -r log_event
do
  let "counter=counter+1"
  bulk_data+="$create"$'\n'"$log_event"$'\n'
  if [ $counter -eq $max_rows ]
  then
       echo "Indexing $counter documents..."
       bulk_data+=$'\n'
       echo "$bulk_data" | tee temp.json > /dev/null
       /usr/bin/curl -XPOST "http://localhost:$port/sdh7687/_bulk" -H 'Content-Type: application/x-ndjson' -# --progress-bar   --insecure --data-binary @temp.json >> "$output"
       rm -rf temp.json
       counter=0
       bulk_data=$'\n'
  fi
done < "$input"

if [ $counter -lt $max_rows ] && [ $counter -gt 0 ]
then
       echo "Indexing $counter documents..."
       bulk_data+=$'\n'
       echo "$bulk_data" | tee temp.json > /dev/null
       /usr/bin/curl -XPOST "http://localhost:$port/sdh7687/_bulk" -H 'Content-Type: application/x-ndjson'  -# --progress-bar --insecure --data-binary @temp.json >> "$output"
       rm -rf temp.json
fi

Note I ran the above two scripts dozens of times to create data files with 100,000 to 200,000 entries, so that most of the data fell within a small-ish @timestamp range to index millions of documents.

Run the following query (has profiling and highlighting turned on).

ES Query (toggle to view)
POST sdh7687/_async_search
{
  "profile": true,
  "track_total_hits": false,
  "sort": [
    {
      "@timestamp": {
        "order": "desc",
        "unmapped_type": "boolean"
      }
    }
  ],
  "fields": [
    {
      "field": "*",
      "include_unmapped": "true"
    },
    {
      "field": "@timestamp",
      "format": "strict_date_optional_time"
    }
  ],
  "size": 10,
  "version": true,
  "script_fields": {},
  "stored_fields": [
    "*"
  ],
  "runtime_mappings": {},
  "_source": false,
  "query": {
    "bool": {
      "must": [],
      "filter": [
        {
          "range": {
            "@timestamp": {
              "format": "strict_date_optional_time",
              "gte": "2021-01-02T06:40:00.000Z",
              "lte": "2021-04-10T06:49:07.221Z"
            }
          }
        },
        {
          "match_phrase": {
            "kubernetes.deployment.name": "service-integrations"
          }
        }
      ],
      "should": [],
      "must_not": [
        {
          "match_phrase": {
            "message": "request errored"
          }
        },
        {
          "match_phrase": {
            "message": "request completed"
          }
        }
      ]
    }
  },
  "highlight": {
    "pre_tags": [
      "@kibana-highlighted-field@"
    ],
    "post_tags": [
      "@/kibana-highlighted-field@"
    ],
    "fields": {
      "*": {}
    },
    "fragment_size": 2147483647
  }
}
  

Logs (if relevant)

No response

@quux00 quux00 added >bug needs:triage Requires assignment of a team area label labels Dec 11, 2023
@quux00
Copy link
Contributor Author

quux00 commented Dec 12, 2023

Testing details

Summary of findings


|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|  Run # | Run info                         | took | ConstantScoreQuery | Fetch    | Fetch/Highlight | # docs  | # docs matching |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
| Cust 1 | highlights_enabled               | 846s | 0.625s             | 845s     | 845s (99.9%)    | 41.6 m  | ?               |
| Cust 2 | chaining_fields                  | 882s | 0.355s             | 882s     | 882s (99.9%)    |         |                 |
| Cust 3 | fragment_25                      | 859s | 0.277s             | 858s     | 858s (99.9%)    |         |                 |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|      1 | No highlighting, no data load    | 221s | 217.2 s            | 0.0008 s | N/A             | 15.58 m | 7.79 million    |
|      2 | With highlighting, no data load  | 397s | 219.5 s            | 175.6 s  | 175.6 s (44%)   | "       | "               |
|      3 | No highlighting, no data load    | 218s | 214.8 s            |          | N/A             | "       | "               |
|      4 | With highlighting, no data load  | 392  | 220.4 s            | 173.3 s  | 173.3 s (44%)   | "       | "               |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|      5 | No highlighting, no data load    | 87s  | 85.5 s             |          |                 | 21.20 m | 2.64 million    |
|      6 | With highlighting, no data load  | 174s | 87.7 s             | 89.3 s   | 89.3 s (51%)    | 21.20 m | 2.64 million    |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|      7 | No highlighting, profile:false   | 72s  |                    |          |                 | 21.20 m | 2.64 million    |
|      8 | With highlighting, profile:false | 151s |                    |          |                 | 21.20 m | 2.64 million    |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|      9 | highlighting, frag=25, fields!=* | 161s | 76.4 s             | 84.7 s   | 84.7 s (53%)    | 21.20 m | 2.64 million    |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|
|     10 | highlighting, message=text       | 172s | 98.1 s             | 78.1 s   | 78.1 s (45%)    | 6.7 m   | 1.96 million    |
|--------+----------------------------------+------+--------------------+----------+-----------------+---------+-----------------|

The customer results from running the same query with three different conditions (none of which mattered) shows that the search finished quickly, but the highlighting took ~850s.

My testing results are shown in the rows below that.

I ran with and without highlighting, with and without profile: true, with the default Kibana fragment and fields="*" vs. one where I set the fragment size to be 25 or specify only one field to highlight.

Finally I also did a second large index where the message type was defined as text rather than match_only_text which is what the customer has that field defined as.

In all cases of my testing, running with highlighting causes the query to run twice as long. The other variations I tried made to no obvious difference.

I captured several hot threads snapshots. The highlighting runs in the second half the query. For the first half, no highlighting activity appears in the hot threads. Below I provide 5 sample hotthreads "dumps" that I took.

Hotthreads while highlighting phase is running (toggle to view)
::: {node-1}{xwr6VZjnT5i_d4hnrjhmow}{aBMXfS7RSK-hc2YF8WK8OA}{node-1}{192.168.86.50}{192.168.86.50:9309}{cdfhilmrstw}{8.13.0}{7000099-8500006}{transform.config_version=10.0.0, xpack.installed=true, ml.config_version=12.0.0, ml.max_jvm_size=1073741824, ml.allocated_processors_double=10.0, ml.allocated_processors=10, ml.machine_memory=68719476736}
   Hot threads at 2023-12-11T16:03:10.015Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
   
   100.0% [cpu=99.1%, other=0.9%] (500ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][search][T#16]'
     3/10 snapshots sharing following 41 elements
       app/[email protected]/org.apache.lucene.util.AttributeSource.clearAttributes(AttributeSource.java:273)
       app/[email protected]/org.apache.lucene.analysis.standard.StandardTokenizer.incrementToken(StandardTokenizer.java:153)
       app/[email protected]/org.apache.lucene.analysis.LowerCaseFilter.incrementToken(LowerCaseFilter.java:37)
       app/[email protected]/org.apache.lucene.analysis.FilteringTokenFilter.incrementToken(FilteringTokenFilter.java:51)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.storeTerms(MemoryIndex.java:886)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     2/10 snapshots sharing following 61 elements
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:134)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.radixSort(MSBRadixSorter.java:182)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:136)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:129)
       app/[email protected]/org.apache.lucene.util.StringSorter.sort(StringSorter.java:55)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:216)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms(MemoryIndex.java:1173)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum.<init>(MemoryIndex.java:1742)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1.iterator(MemoryIndex.java:1682)
       app/[email protected]/org.apache.lucene.index.TermStates.loadTermsEnum(TermStates.java:129)
       app/[email protected]/org.apache.lucene.index.TermStates.lambda$build$0(TermStates.java:106)
       app/[email protected]/org.apache.lucene.index.TermStates$$Lambda/0x0000008001fa23f8.call(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:118)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup$$Lambda/0x00000080023117f0.call(Unknown Source)
       [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
       app/[email protected]/org.apache.lucene.search.IndexSearcher$$Lambda/0x00000080020c4a68.execute(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.invokeAll(TaskExecutor.java:153)
       app/[email protected]/org.apache.lucene.search.TaskExecutor.invokeAll(TaskExecutor.java:76)
       app/[email protected]/org.apache.lucene.index.TermStates.build(TermStates.java:116)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.getStats(PhraseQuery.java:458)
       app/[email protected]/org.apache.lucene.search.PhraseWeight.<init>(PhraseWeight.java:44)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.<init>(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:900)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:691)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:991)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     5/10 snapshots sharing following 36 elements
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)



::: {node-1}{xwr6VZjnT5i_d4hnrjhmow}{aBMXfS7RSK-hc2YF8WK8OA}{node-1}{192.168.86.50}{192.168.86.50:9309}{cdfhilmrstw}{8.13.0}{7000099-8500006}{transform.config_version=10.0.0, xpack.installed=true, ml.config_version=12.0.0, ml.max_jvm_size=1073741824, ml.allocated_processors_double=10.0, ml.allocated_processors=10, ml.machine_memory=68719476736}
   Hot threads at 2023-12-11T20:19:03.146Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
   
   100.0% [cpu=98.8%, other=1.2%] (500ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][search][T#4]'
     2/10 snapshots sharing following 39 elements
       app/[email protected]/org.apache.lucene.util.BytesRefHash.rehash(BytesRefHash.java:380)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.add(BytesRefHash.java:294)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.storeTerms(MemoryIndex.java:894)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     2/10 snapshots sharing following 64 elements
       app/[email protected]/org.apache.lucene.util.Sorter.insertionSort(Sorter.java:249)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:128)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:44)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:134)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.radixSort(MSBRadixSorter.java:182)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:136)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:129)
       app/[email protected]/org.apache.lucene.util.StringSorter.sort(StringSorter.java:55)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:216)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms(MemoryIndex.java:1173)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum.<init>(MemoryIndex.java:1742)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1.iterator(MemoryIndex.java:1682)
       app/[email protected]/org.apache.lucene.index.TermStates.loadTermsEnum(TermStates.java:129)
       app/[email protected]/org.apache.lucene.index.TermStates.lambda$build$0(TermStates.java:106)
       app/[email protected]/org.apache.lucene.index.TermStates$$Lambda/0x0000008001fa23f8.call(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:118)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup$$Lambda/0x00000080023117f0.call(Unknown Source)
       [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
       app/[email protected]/org.apache.lucene.search.IndexSearcher$$Lambda/0x00000080020c4a68.execute(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.invokeAll(TaskExecutor.java:153)
       app/[email protected]/org.apache.lucene.search.TaskExecutor.invokeAll(TaskExecutor.java:76)
       app/[email protected]/org.apache.lucene.index.TermStates.build(TermStates.java:116)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.getStats(PhraseQuery.java:458)
       app/[email protected]/org.apache.lucene.search.PhraseWeight.<init>(PhraseWeight.java:44)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.<init>(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:900)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:691)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:991)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     5/10 snapshots sharing following 36 elements
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     unique snapshot
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:128)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:44)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:134)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.radixSort(MSBRadixSorter.java:182)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:136)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:129)
       app/[email protected]/org.apache.lucene.util.StringSorter.sort(StringSorter.java:55)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:216)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms(MemoryIndex.java:1173)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum.<init>(MemoryIndex.java:1742)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1.iterator(MemoryIndex.java:1682)
       app/[email protected]/org.apache.lucene.index.TermStates.loadTermsEnum(TermStates.java:129)
       app/[email protected]/org.apache.lucene.index.TermStates.lambda$build$0(TermStates.java:106)
       app/[email protected]/org.apache.lucene.index.TermStates$$Lambda/0x0000008001fa23f8.call(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:118)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup$$Lambda/0x00000080023117f0.call(Unknown Source)
       [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
       app/[email protected]/org.apache.lucene.search.IndexSearcher$$Lambda/0x00000080020c4a68.execute(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.invokeAll(TaskExecutor.java:153)
       app/[email protected]/org.apache.lucene.search.TaskExecutor.invokeAll(TaskExecutor.java:76)
       app/[email protected]/org.apache.lucene.index.TermStates.build(TermStates.java:116)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.getStats(PhraseQuery.java:458)
       app/[email protected]/org.apache.lucene.search.PhraseWeight.<init>(PhraseWeight.java:44)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.<init>(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:900)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:691)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:991)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)




::: {node-1}{xwr6VZjnT5i_d4hnrjhmow}{aBMXfS7RSK-hc2YF8WK8OA}{node-1}{192.168.86.50}{192.168.86.50:9309}{cdfhilmrstw}{8.13.0}{7000099-8500006}{transform.config_version=10.0.0, xpack.installed=true, ml.config_version=12.0.0, ml.max_jvm_size=1073741824, ml.allocated_processors_double=10.0, ml.allocated_processors=10, ml.machine_memory=68719476736}
   Hot threads at 2023-12-11T20:19:25.186Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
   
   100.0% [cpu=99.2%, other=0.8%] (500ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][search][T#4]'
     3/10 snapshots sharing following 37 elements
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.storeTerms(MemoryIndex.java:894)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     3/10 snapshots sharing following 64 elements
       app/[email protected]/org.apache.lucene.util.Sorter.insertionSort(Sorter.java:249)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:128)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:44)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:134)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.radixSort(MSBRadixSorter.java:182)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:136)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:129)
       app/[email protected]/org.apache.lucene.util.StringSorter.sort(StringSorter.java:55)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:216)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms(MemoryIndex.java:1173)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum.<init>(MemoryIndex.java:1742)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1.iterator(MemoryIndex.java:1682)
       app/[email protected]/org.apache.lucene.index.TermStates.loadTermsEnum(TermStates.java:129)
       app/[email protected]/org.apache.lucene.index.TermStates.lambda$build$0(TermStates.java:106)
       app/[email protected]/org.apache.lucene.index.TermStates$$Lambda/0x0000008001fa23f8.call(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:118)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup$$Lambda/0x00000080023117f0.call(Unknown Source)
       [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
       app/[email protected]/org.apache.lucene.search.IndexSearcher$$Lambda/0x00000080020c4a68.execute(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.invokeAll(TaskExecutor.java:153)
       app/[email protected]/org.apache.lucene.search.TaskExecutor.invokeAll(TaskExecutor.java:76)
       app/[email protected]/org.apache.lucene.index.TermStates.build(TermStates.java:116)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.getStats(PhraseQuery.java:458)
       app/[email protected]/org.apache.lucene.search.PhraseWeight.<init>(PhraseWeight.java:44)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.<init>(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:900)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:691)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:991)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     3/10 snapshots sharing following 41 elements
       app/[email protected]/org.apache.lucene.util.AttributeSource.clearAttributes(AttributeSource.java:273)
       app/[email protected]/org.apache.lucene.analysis.standard.StandardTokenizer.incrementToken(StandardTokenizer.java:153)
       app/[email protected]/org.apache.lucene.analysis.LowerCaseFilter.incrementToken(LowerCaseFilter.java:37)
       app/[email protected]/org.apache.lucene.analysis.FilteringTokenFilter.incrementToken(FilteringTokenFilter.java:51)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.storeTerms(MemoryIndex.java:886)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     unique snapshot
       app/[email protected]/org.apache.lucene.analysis.CharacterUtils.toLowerCase(CharacterUtils.java:58)
       app/[email protected]/org.apache.lucene.analysis.LowerCaseFilter.incrementToken(LowerCaseFilter.java:38)
       app/[email protected]/org.apache.lucene.analysis.FilteringTokenFilter.incrementToken(FilteringTokenFilter.java:51)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.storeTerms(MemoryIndex.java:886)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)


::: {node-1}{xwr6VZjnT5i_d4hnrjhmow}{L9juDXzlRVmGFX9xfvv2Mw}{node-1}{192.168.86.50}{192.168.86.50:9309}{cdfhilmrstw}{8.13.0}{7000099-8500006}{ml.allocated_processors=10, ml.allocated_processors_double=10.0, ml.max_jvm_size=1073741824, ml.config_version=12.0.0, xpack.installed=true, transform.config_version=10.0.0, ml.machine_memory=68719476736}
   Hot threads at 2023-12-11T20:42:50.608Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
   
   100.0% [cpu=98.3%, other=1.7%] (500ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][search][T#4]'
     10/10 snapshots sharing following 33 elements
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x000000700229e490.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)

::: {node-1}{xwr6VZjnT5i_d4hnrjhmow}{aBMXfS7RSK-hc2YF8WK8OA}{node-1}{192.168.86.50}{192.168.86.50:9309}{cdfhilmrstw}{8.13.0}{7000099-8500006}{transform.config_version=10.0.0, xpack.installed=true, ml.config_version=12.0.0, ml.max_jvm_size=1073741824, ml.allocated_processors_double=10.0, ml.allocated_processors=10, ml.machine_memory=68719476736}
   Hot threads at 2023-12-11T16:00:48.766Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
   
   100.0% [cpu=99.2%, other=0.8%] (500ms out of 500ms) cpu usage by thread 'elasticsearch[node-1][search][T#16]'
     4/10 snapshots sharing following 36 elements
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.addField(MemoryIndex.java:475)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:406)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     5/10 snapshots sharing following 64 elements
       app/[email protected]/org.apache.lucene.util.Sorter.insertionSort(Sorter.java:249)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:128)
       app/[email protected]/org.apache.lucene.util.IntroSorter.sort(IntroSorter.java:44)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:134)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.radixSort(MSBRadixSorter.java:182)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:136)
       app/[email protected]/org.apache.lucene.util.MSBRadixSorter.sort(MSBRadixSorter.java:129)
       app/[email protected]/org.apache.lucene.util.StringSorter.sort(StringSorter.java:55)
       app/[email protected]/org.apache.lucene.util.BytesRefHash.sort(BytesRefHash.java:216)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms(MemoryIndex.java:1173)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum.<init>(MemoryIndex.java:1742)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1.iterator(MemoryIndex.java:1682)
       app/[email protected]/org.apache.lucene.index.TermStates.loadTermsEnum(TermStates.java:129)
       app/[email protected]/org.apache.lucene.index.TermStates.lambda$build$0(TermStates.java:106)
       app/[email protected]/org.apache.lucene.index.TermStates$$Lambda/0x0000008001fa23f8.call(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:118)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup$$Lambda/0x00000080023117f0.call(Unknown Source)
       [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
       app/[email protected]/org.apache.lucene.search.IndexSearcher$$Lambda/0x00000080020c4a68.execute(Unknown Source)
       app/[email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.invokeAll(TaskExecutor.java:153)
       app/[email protected]/org.apache.lucene.search.TaskExecutor.invokeAll(TaskExecutor.java:76)
       app/[email protected]/org.apache.lucene.index.TermStates.build(TermStates.java:116)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.getStats(PhraseQuery.java:458)
       app/[email protected]/org.apache.lucene.search.PhraseWeight.<init>(PhraseWeight.java:44)
       app/[email protected]/org.apache.lucene.search.PhraseQuery$1.<init>(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.PhraseQuery.createWeight(PhraseQuery.java:439)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:900)
       app/[email protected]/org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:691)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:991)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)
     unique snapshot
       [email protected]/java.util.HashMap.putVal(HashMap.java:635)
       [email protected]/java.util.HashMap.put(HashMap.java:618)
       app/[email protected]/org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:105)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader.<init>(MemoryIndex.java:1508)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.createSearcher(MemoryIndex.java:956)
       app/[email protected]/org.apache.lucene.index.memory.MemoryIndex.search(MemoryIndex.java:989)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.computeFreq(SourceConfirmedTextQuery.java:407)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer.freq(SourceConfirmedTextQuery.java:392)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$RuntimePhraseScorer$1.matches(SourceConfirmedTextQuery.java:351)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.doNext(TwoPhaseIterator.java:85)
       app/[email protected]/org.apache.lucene.search.TwoPhaseIterator$TwoPhaseIteratorAsDocIdSetIterator.advance(TwoPhaseIterator.java:78)
       [email protected]/org.elasticsearch.index.mapper.extras.SourceConfirmedTextQuery$2.matches(SourceConfirmedTextQuery.java:315)
       app/[email protected]/org.apache.lucene.search.BooleanWeight.matches(BooleanWeight.java:136)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumsWeightMatcher(FieldOffsetStrategy.java:147)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldOffsetStrategy.createOffsetsEnumFromReader(FieldOffsetStrategy.java:74)
       app/[email protected]/org.apache.lucene.search.uhighlight.MemoryIndexOffsetStrategy.getOffsetsEnum(MemoryIndexOffsetStrategy.java:119)
       app/[email protected]/org.apache.lucene.search.uhighlight.FieldHighlighter.highlightFieldForDoc(FieldHighlighter.java:80)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomFieldHighlighter.highlightFieldForDoc(CustomFieldHighlighter.java:63)
       app/[email protected]/org.elasticsearch.lucene.search.uhighlight.CustomUnifiedHighlighter.highlightField(CustomUnifiedHighlighter.java:148)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.DefaultHighlighter.highlight(DefaultHighlighter.java:80)
       app/[email protected]/org.elasticsearch.search.fetch.subphase.highlight.HighlightPhase$1.process(HighlightPhase.java:69)
       app/[email protected]/org.elasticsearch.search.fetch.FetchProfiler$2.process(FetchProfiler.java:136)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase$1.nextDoc(FetchPhase.java:163)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhaseDocsIterator.iterate(FetchPhaseDocsIterator.java:70)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.buildSearchHits(FetchPhase.java:169)
       app/[email protected]/org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:78)
       app/[email protected]/org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:717)
       app/[email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:688)
       app/[email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:545)
       app/[email protected]/org.elasticsearch.search.SearchService$$Lambda/0x0000008002300ad0.get(Unknown Source)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:73)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:70)
       app/[email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:95)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       app/[email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)
       app/[email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
       app/[email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
       [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
       [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
       [email protected]/java.lang.Thread.runWith(Thread.java:1596)
       [email protected]/java.lang.Thread.run(Thread.java:1583)

@quux00 quux00 added :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team :Search Relevance/Highlighting How a query matched a document and removed :Search/Search Search-related issues that do not fall into other categories labels Dec 12, 2023
@quux00 quux00 changed the title Highlighting can take 50 to 99% of search time Highlighting can take 50% to 99% of search time Dec 12, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Dec 12, 2023
jimczi added a commit to jimczi/elasticsearch that referenced this issue Mar 4, 2024
This change ensures that the matches implementation of the `SourceConfirmedTextQuery` only checks the current document instead of calling advance on the two phase iterator. The latter tries to find the first doc that matches the query instead of restricting the search to the current doc. This can lead to abnormally slow highlighting if the query is very restrictive and the highlight is done on a non-matching document.

Closes elastic#103298
jimczi added a commit that referenced this issue Mar 5, 2024
This change ensures that the matches implementation of the `SourceConfirmedTextQuery` only checks the current document instead of calling advance on the two phase iterator. The latter tries to find the first doc that matches the query instead of restricting the search to the current doc. This can lead to abnormally slow highlighting if the query is very restrictive and the highlight is done on a non-matching document.

Closes #103298
jimczi added a commit to jimczi/elasticsearch that referenced this issue Mar 5, 2024
…5930)

This change ensures that the matches implementation of the `SourceConfirmedTextQuery` only checks the current document instead of calling advance on the two phase iterator. The latter tries to find the first doc that matches the query instead of restricting the search to the current doc. This can lead to abnormally slow highlighting if the query is very restrictive and the highlight is done on a non-matching document.

Closes elastic#103298
jimczi added a commit that referenced this issue Mar 6, 2024
…105983)

This change ensures that the matches implementation of the `SourceConfirmedTextQuery` only checks the current document instead of calling advance on the two phase iterator. The latter tries to find the first doc that matches the query instead of restricting the search to the current doc. This can lead to abnormally slow highlighting if the query is very restrictive and the highlight is done on a non-matching document.

Closes #103298
@javanna javanna added Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch and removed Team:Search Meta label for search team labels Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search Relevance/Highlighting How a query matched a document Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants