See {{org.apache.lucene.search.PrefixQuery}}, [https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html|https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html|smart-link]
The implementation and testing will most likely be very similar to that of {{org.hibernate.search.engine.search.predicate.dsl.SearchPredicateFactory#wildcard}}
----
There is a good workaround, that is using a simple string query with a prefix flag. So there is no rush to have this issue solved. |
|