[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-508) Support query on multiple fields

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Apr 21 13:20:41 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36577#action_36577 ] 

Emmanuel Bernard commented on HSEARCH-508:
------------------------------------------

{code}
//simplified approach
query = monthQb.exact()
		.onFields( "mythology", "history" )
		.matches( "whitening" )
		.createQuery();

//advanced approach allowing per field customization
query = monthQb.exact()
		.onField( "mythology" )
		.andField( "history" )
			.boostedTo( 30 )
		.matches( "whitening" )
		.createQuery();
{code}

> Support query on multiple fields
> --------------------------------
>
>                 Key: HSEARCH-508
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-508
>             Project: Hibernate Search
>          Issue Type: Sub-task
>          Components: query
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>             Fix For: 3.3.0
>
>


-- 
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