[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-904?pag...
]
Hardy Ferentschik commented on HSEARCH-904:
-------------------------------------------
Another idea which is inspired by _ConstraintValidator_ from Hibernate Validator. We could
introduce a _IndexContext_ and pass it via set:
{code}
void set(Object value, Document document, IndexContext context)
{code}
The context could for example include the property hosting entity. If the entity is
available from within the bridge implementation, the dynamic boosting functionality could
be pushed into _LuceneOptions_. Having access to the entity might also be useful for other
custom field bridges.
Have TwoWayFieldBridge report which fields should be loaded from a
Document
---------------------------------------------------------------------------
Key: HSEARCH-904
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-904
Project: Hibernate Search
Issue Type: Task
Reporter: Sanne Grinovero
Assignee: Hardy Ferentschik
Fix For: 4.0.0.Beta2
This is needed to use a FieldSelector in more cases. See also HSEARCH-213.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira