[hibernate-dev] Search DSL expectations for "keyword()" clause

Sanne Grinovero sanne at hibernate.org
Wed Aug 26 16:58:39 EDT 2015


Assuming you build a Lucene Query the following way:

    queryBuilder.keyword().onField( "age" ).matching( 5 ).createQuery();

What is your expectation, if the "age" field is being indexed as a NumericField?

Thanks,
Sanne


More information about the hibernate-dev mailing list