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

Scripts: Allow to access _fields providing access to stored fields #402

Closed
kimchy opened this issue Oct 3, 2010 · 1 comment
Closed

Comments

@kimchy
Copy link
Member

kimchy commented Oct 3, 2010

On top of doc (which access cached fields tokens), and _source (which loads the actual source and parses it), the new _fields allow to access specific stored fields (mapped with store set to yes.

For example: _fields['my_field_name'].value or _fields['my_field_name'].values.

This can be handy to just load specific fields and not loading the full source and parsing it for each hit. doc is provides the fastest execution at the expense of memory.

@kimchy
Copy link
Member Author

kimchy commented Oct 3, 2010

Scripts: Allow to access _fields providing access to stored fields, closed by c9a47a1.

medcl pushed a commit to medcl/elasticsearch that referenced this issue Jul 1, 2011
williamrandolph pushed a commit to williamrandolph/elasticsearch that referenced this issue Jun 4, 2020
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
…lastic#402)

MPC-4337: emsmgr EKS scaffolding

* 1 emsmgr per cluster, better default env

* add EMS_AUTH_SECRET


Approved-by: Can Yildiz
Approved-by: Gideon Avida
Approved-by: Andre Sodermans
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 2, 2023
emilykmarx pushed a commit to emilykmarx/elasticsearch that referenced this issue Dec 26, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant