[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HSEARCH-703) QueryBuilder should support specialization by superclasses of indexed entities
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Wed Nov 9 10:33:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44282#comment-44282 ]
Emmanuel Bernard edited comment on HSEARCH-703 at 11/9/11 9:32 AM:
-------------------------------------------------------------------
BTW the way to solve this should be simple I hope.
If there is an exception (ie the class is not indexed), use SearchFactoryImplementor to find the list of indexed classes that subclass this one (there is a contract for that AFAIR). Pick the first and use its analyzer.
All common ancestors will be honored. Cheap fix but good enough.
was (Author: emmanuel):
BTW the way to solve this should be simple I hope.
If there is an exception (ie the class is not indexed), use SearchFactoryImplementor to find the list of indexed classes that subclass this one (there is a contract for that AFAIR). Pick the first and use its analyzer.
All common ancestor will be honored. Cheap fix but good enough.
> QueryBuilder should support specialization by superclasses of indexed entities
> ------------------------------------------------------------------------------
>
> Key: HSEARCH-703
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-703
> Project: Hibernate Search
> Issue Type: Bug
> Components: query
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
> Fix For: 4.0.0.CR2
>
>
> See https://forum.hibernate.org/viewtopic.php?f=9&t=1009783 for the context.
--
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