Spatial, faceting and MoreLikeThis are handled in another ticket, because they should be more complex. See [ HSEARCH -3271 |https://hibernate.atlassian.net/browse/HSEARCH-3271] and [ HSEARCH -3272 |https://hibernate.atlassian.net/browse/HSEARCH-3272] in particular.
See {{org.hibernate.search.v6poc.search.dsl.predicate.SearchPredicateContainerContext}} Also, see the TODOs: * {{org.hibernate.search.v6poc.backend.lucene.document.model.impl.MatchQueryOptions}} * {{org.hibernate.search.v6poc.backend.lucene.document.model.impl.RangeQueryOptions}} * {{org.hibernate.search.v6poc.backend.lucene.search.predicate.impl.MatchPredicateBuilderImpl}}
Also, work on adding support for wildcard and fuzzy queries.
For fuzzy predicates, we may want to just add a “fuzziness” option to the match predicate, just like they do in Elasticsearch. The question then becomes: do we also add a separate “fuzzy” predicate?
For wildcard predicates, I think a separate predicate would be in order: the wildcard predicate does not behave exactly like the match one, in particular you can’t have both fuzziness and wildcards, and wildcards do not support analyzers (they may support normalizers in Lucene 7, I’d have to check). |
|