Targeting of "implicit" fields in the Search DSL
Description
Activity
Show:
Done
Assignee
Reporter
![](https://secure.gravatar.com/avatar/2a8bdd4ffd282b7185c74b52ab452617?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FYR-6.png)
Components
Sprint
None
Fix versions
Priority
Created August 9, 2021 at 10:13 AM
Updated July 3, 2023 at 11:27 AM
Resolved December 23, 2022 at 10:01 AM
Elasticsearch creates some implicit fields when indexing, and so does Hibernate Search:
_index
(the name of the index)_entity_type
(the name of the indexed entity type)etc.
It would be nice to be able to refer to these fields in the Search DSL, even though they weren't declared anywhere, e.g.:
Note we do NOT want the same for the internal Lucene fields: those are private and should not be relied on by application developers.