[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-692) FieldSelection should be allowed in more cases
Sanne Grinovero (JIRA)
noreply at atlassian.com
Mon Feb 21 13:17:05 EST 2011
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
Fix For: 3.5
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.
-
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