Git Product home page Git Product logo

Comments (5)

nik9000 avatar nik9000 commented on June 29, 2024 2

_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.

elasticsearchmachine avatar elasticsearchmachine commented on June 29, 2024

Pinging @elastic/es-analytical-engine (Team:Analytics)

from elasticsearch.

stratoula avatar stratoula commented on June 29, 2024

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.

bpintea avatar bpintea commented on June 29, 2024

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.

stratoula avatar stratoula commented on June 29, 2024

Thanx @bpintea ❤️

from elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.