elasticsearch/docs/reference
Nik Everett 1b151eda4b
ESQL: Compute engine support for tagged queries (#128521)
Begins adding support for running "tagged queries" to the compute
engine. Here, it's just the `LuceneSourceOperator` because that's
useful and contained.

Example time! Say you are running:
```
FROM foo
| STATS MAX(v) BY ROUND_TO(g, 0, 100, 1000, 100000)
```

It's *often* faster to run this as four queries:
* The docs that round to `0`
* The docs that round to `100`
* The docs that round to `1000`
* The docs that round to `100000`

This creates an ESQL operator that can run these queries, one after the
other and attach those tags.

Aggs uses this trick and it's *way* faster when it can push down count
queries, but it's still faster when it pushes doc loading things. This
implementation in `LuceneSourceOperator` is quite similar to the doc
loading version in _search.

I don't have performance measurements yet because I haven't plugged this
into the language. In _search we call this `filter-by-filter` and enable
it when each group averages to more than 5000 documents and when there
isn't an `_doc_count` field. It's faster in those cases not to push. I
expect we'll be pretty similar.
2025-05-29 12:41:58 -04:00
..
aggregations Replace chars (#128439) 2025-05-26 11:01:12 +02:00
community-contributed remove reliance on redirects in docs-content (#125863) 2025-03-28 16:41:38 +01:00
elasticsearch [DOCS] Edit dynamic and static setting links (#128537) 2025-05-29 08:00:11 -07:00
elasticsearch-plugins Replace chars (#128439) 2025-05-26 11:01:12 +02:00
enrich-processor [DOCS] Edit dynamic and static setting links (#128537) 2025-05-29 08:00:11 -07:00
query-languages ESQL: Compute engine support for tagged queries (#128521) 2025-05-29 12:41:58 -04:00
scripting-languages [docs] Add products to docset.yml (#128274) 2025-05-21 13:55:32 -05:00
search/search-your-data [DOCS] Clean up Asciidoc links in markdown files (#125046) 2025-03-19 08:03:55 -07:00
search-connectors Rename Azure Active Directory to Microsoft Entra ID (#128351) 2025-05-23 11:40:01 +02:00
setup/install/docker [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
text-analysis [DOCS] Replace irregular whitespaces in docs (#128199) 2025-05-20 16:20:22 +02:00
watcher/images [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
index.md [docs] More updates for docs-assembler (#125509) 2025-03-24 14:20:14 -05:00
toc.yml [docs] More updates for docs-assembler (#125509) 2025-03-24 14:20:14 -05:00