[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-414) Add support for a Lucene query builder using a fluent API
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Wed Mar 17 17:38:37 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35870#action_35870 ]
Emmanuel Bernard commented on HSEARCH-414:
------------------------------------------
I am not fan of term either but termQuery is worse because there is no 1-1 match between this construct and a TermQuery.
Maybe
.onField(String field).matches(String text).createQuery();
I will create the boolean DSL but it's not trivial to build this API :)
Oh and of course, it takes the right analyzer :) I apply a SHOULD on each term generated by the analyzer.
I have not followed Lucene's new contracts so your input would be nice.
> Add support for a Lucene query builder using a fluent API
> ---------------------------------------------------------
>
> Key: HSEARCH-414
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-414
> Project: Hibernate Search
> Issue Type: New Feature
> Components: query
> Reporter: Emmanuel Bernard
> Fix For: 3.2.0.Beta3
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list