Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-3089

Search 6 groundwork - Add to the DSL the missing query predicates (excluding spatial, faceting, moreLikeThis) compared to Search 5

    Details

      Description

      Spatial, faceting and MoreLikeThis are handled in another ticket, because they should be more complex. See HSEARCH‌-3271 and 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).

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                yrodiere Yoann Rodière
                Reporter:
                yrodiere Yoann Rodière
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: