Add ID predicates to the predicate DSL

Description

Add a predicate in org.hibernate.search.v6poc.search.dsl.predicate.SearchPredicateContainerContext.
See also the elasticsearch documentation.

Note that users will probably want to use the ID type from their mapper (Long, Integer, ...), not just String. Thus we might have to allow the mapper to register a ToIndexConverter for the ID, similarly to what we do with fields (see org.hibernate.search.engine.backend.document.model.dsl.IndexSchemaFieldTypedContext#dslConverter) => Moved to

Environment

None

Status

Assignee

Davide D'Alto

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

Yes, likely

Feedback Requested

None

Fix versions

Priority

Major
Configure