[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-692) FieldSelection should be allowed in more cases
Sanne Grinovero (JIRA)
noreply at atlassian.com
Fri Dec 23 09:35:20 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero updated HSEARCH-692:
------------------------------------
Fix Version/s: (was: 4.1)
> FieldSelection should be allowed in more cases
> ----------------------------------------------
>
> Key: HSEARCH-692
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-692
> Project: Hibernate Search
> Issue Type: Improvement
> Reporter: Sanne Grinovero
>
> The allowFieldSelection is now turned off by the DocumentBuilder if the entity contains any field which is not two-way projectable.
> This results in having FieldSelectors being disabled, even if the only field being asked for as projection contains only two-way projectable fields.
> Also, the current code in org.hibernate.search.engine.DocumentBuilderIndexedEntity.checkAllowFieldSelection() is a mess; we should figure out from the bridges exactly which fields they are going to need to read: FieldSelector needs now to be disabled for bridges such as org.hibernate.search.test.id.PersonPKBridge.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list