[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-265?pag...
]
Hardy Ferentschik commented on HSEARCH-265:
-------------------------------------------
But you can search on an abstract class.
For example, let's say you have an abstract class File and two subclasses Folder and
Document. At the moment I can annotate them all with @Indexed, generate some document and
folders and then search for something like createFullTextQuery( query, File.class ),
right?
If I remove the @Indexed from File I get an exception since there won't be a document
builder for it.
Raise warnings when an abstract class is marked @Indexed
--------------------------------------------------------
Key: HSEARCH-265
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-265
Project: Hibernate Search
Issue Type: Improvement
Components: mapping
Reporter: Emmanuel Bernard
Priority: Minor
Fix For: 3.1.0.CR1
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira