Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-3845 (
https://hibernate.atlassian.net/browse/HSEARCH-3845?atlOrigin=eyJpIjoiZGI...
)
Re: Ineffective search for the "simpleQueryString" predicate. (
https://hibernate.atlassian.net/browse/HSEARCH-3845?atlOrigin=eyJpIjoiZGI...
)
I'm a bit confused, to be honest.
There is no way to customize the enabled flags right now. That can be annoying, and adding
methods to control that is definitely a good idea. However, * *all flags are enabled* * by
default. As you noticed yourself, passing "-1" as a flag simply enables all
features (that's what you did in your snippet of code).
So I'm not sure how your patch solved the problem exactly, and I'm not even sure
what caused the problem. Maybe it was indeed FieldContextSimpleQueryParser ? It looks like
it doesn't normalize terms before creating queries, like it should. Depending on your
analyzer, that could cause no results to be returned.
That being said, if you manage to make it work using standard Lucene classes instead of
our custom query parser * *and* * to make all pre-existing integration tests pass... Well,
that would be awesome.
(
https://hibernate.atlassian.net/browse/HSEARCH-3845#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3845#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:090dddf )