Issue Type: Bug Bug
Affects Versions: 4.2.0.Final
Assignee: Unassigned
Components: query
Created: 16/Apr/13 8:06 AM
Description:

When you enter a text "the" on a field that uses stopword analysis, Hibernate Search will throw an exception. This is undesirable there doesn't seem to be an easy way to prevent this kind of input to be given to a keyword query since the result depends on the analysis of the input text.

In stead I believe a term like this should just be ignored and a log-warning should be given.

{{

{ org.hibernate.search.errors.EmptyQueryException: HSEARCH000146: The query string 'the' applied on field 'tag_kw_pt' has no meaningfull tokens to be matched. Validate the query input against the Analyzer applied on this field. at org.hibernate.search.query.dsl.impl.ConnectedMultiFieldsTermQueryBuilder.createQuery(ConnectedMultiFieldsTermQueryBuilder.java:111) at org.hibernate.search.query.dsl.impl.ConnectedMultiFieldsTermQueryBuilder.createQuery(ConnectedMultiFieldsTermQueryBuilder.java:81) }

}}

Project: Hibernate Search
Priority: Major Major
Reporter: Marc Schipperheyn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira