Add a predicate in {{org.hibernate.search.v6poc.search.dsl.predicate.SearchPredicateContainerContext}}. See also [the elasticsearch documentation|https://www.elastic.co/guide/en/elasticsearch/reference/6.0/query-dsl-ids-query.html].
~ 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 HSEARCH-3416 |
|