[hibernate-dev] Search 5 migration pains: MultiFieldQueryParser and Numeric Fields

Emmanuel Bernard emmanuel at hibernate.org
Mon Jan 26 09:01:17 EST 2015

Yes but let’s put it in perspective to all the goals we have :)

> On 26 Jan 2015, at 14:21, Sanne Grinovero <sanne at hibernate.org> wrote:
> As reported on SO [1], it's not a straight forward migration for those
> who embraced the convenience of using a MultiFieldQueryParser, or one
> of the other Lucene provided parsers.
> In the specific example, I think the right answer would be to use the
> programmatic API or our DSL.. but let's consider the use case in which
> you want to parse user input, from a text input in your application?
> Using the parser is quite convenient in such a case, as people can
> express boolean operators and field names, while keeping the UI very
> simple.
> Wouldn't it be nice to have a custom "parser" in our DSL, which
> essentially mimicks the functionality of the MultiFieldQueryParser but
> takes advantage of our indexing metadata - like we do for the HQL
> Parser?
> Sanne
> 1 - http://stackoverflow.com/questions/28138308/hibernate-search-5-0-numeric-lucene-query-hsearch000233-issue
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

More information about the hibernate-dev mailing list