]
Sanne Grinovero updated HSEARCH-692:
------------------------------------
Fix Version/s: (was: 4.0.0.Final)
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
Fix For: 4.1
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: