Comments (5)
_id
is a stored field so it's not the most efficient thing to load, but we will only be loading it outside of stats so that'll help. We'd want to make sure we did it after a topn.
from elasticsearch.
Pinging @elastic/es-analytical-engine (Team:Analytics)
from elasticsearch.
We want to use this _id to do an extra call (after user's request) to get this row. Is the _id enough or do we need the _index too?
from <source> | where _id === <value>
Also is this performant?
from elasticsearch.
Is the _id enough or do we need the _index too?
from <source> | where _id === <value>
The _id is index specific, so you'll probably want the _index
too.
(Smth like PUT test1/_doc/1
and PUT test2/_doc/1
will get you the same _id
==1 for a FROM test*
.)
Also is this performant?
I think the loading of the fields should be OK. Filtering-wise we can push _index
down, but we don't do it for_id
. But maybe we can improve things if required.
from elasticsearch.
Thanx @bpintea ❤️
from elasticsearch.
Related Issues (20)
- Automated response action discovery HOT 1
- [CI] DebMetadataTests test05CheckLintian failing HOT 11
- [ESQL] SimplifyComparisonArithmetics can cause nulls on valid queries HOT 1
- [CI] DockerTests test500Readiness failing HOT 7
- [CI] LogicalPlanOptimizerTests testSimplifyComparisionArithmetics_floatDivision failing HOT 1
- [CI] LogicalPlanOptimizerTests testSimplifyComparisonArithmeticWithDisjunction failing HOT 1
- Remove extra mode in Metrics command HOT 1
- [CI] MonotonicClockTests testMonotonicityWithFakeClock failing HOT 2
- [CI] GroupByOptimizerTests testOrderByType failing HOT 3
- [CI] EnrichIT testManyDocuments failing HOT 1
- elasticsearch caught exception while handling client http traffic, closing HOT 1
- Build and make 8.13.4 available on this repository HOT 5
- Named query performance degradation after upgrading to 8.13.2 (from 8.7.1) HOT 9
- ESQL: enable the metadata attributes reported by fieldcaps HOT 1
- ESQL: Allow access to failure store HOT 5
- ESQL: fix csv-spec tests expecting a floating result HOT 5
- [Transform] Find a way to see per-node transform stats HOT 1
- Don't fallback to anonymous user when credentials are present (Basic Authentication) HOT 5
- ESQL: Performance regression in topn HOT 2
- Rescoring phase adds unexplained latency to queries HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch.