Adrian Nistor <anistor> updated the status of jira ISPN-5561 to Reopened
Created attachment 1060258 [details] Issue reproducer
Looks like I'm still hitting the issue, attached reproducer. 1. unzip reproducer.zip 2. mvn clean install -s /path/to/settings.xml 3. mvn exec:java -s /path/to/settings.xml -Dexec.mainClass=QueryVfMain
Matej, what issue are you experiencing? The reproducer seems to use the hibernate-search DSL to build a Lucene query object, but please note this BZ and the associated ISPN-5561 are actually referring to infinispan's DSL based queries, used in remote mode, embedded mode, compat mode. The description of ISPN-5561 is unfortunately terribly wordy and describes the HQL parser issue in terms of the Lucene query being built (wrongly, due to term analysis) behind the scene with some hibernate-search DSL invocation examples, but that's not what this bug is about. Or do we have a problem at the hibernate-search DSL level? I did not run the reproducer yet as there seems to be a compile error.
Hi Adrian, sorry for confusion. The issue I'm getting copies the one described in attached JIRA, i.e. org.hibernate.search.errors.EmptyQueryException: HSEARCH000146: The query string '' applied on field 'text' 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) at QueryVfMain.main(QueryVfMain.java:32) I've just run the reproducer without problems, maybe you're missing 6.4.0.DR1-redhat-1 artifacts in your maven repository? In that case I'll make sure the issue doesn't occur when using ISPN DSL based queries. If that's the case, I'll move this issue to verified state. However the reproducer still deserves investigation, please let me know if you have any problems while making it work.
Looks like using ISPN Query DSL works fine.
Marking as verified as per https://bugzilla.redhat.com/show_bug.cgi?id=1238866#c9 & https://bugzilla.redhat.com/show_bug.cgi?id=1238866#c10. The issue was related to using ISPN DSL based queries.