On 2 Jan 2013, at 9:17 PM, Guillaume Smet <guillaume.s...@gmail.com> wrote:

> The SearchFactory.getIndexedTypes API looks nice.

Great.

> Would it be possible to also expose something like getRootIndexedTypes
> based on the magic done in MassIndexerImpl.toRootEntities?

TBH i am not completely sure I understand what the method does. The docs says:

"From the set of classes a new set is built containing all indexed subclasses, 
but removing then all subtypes of 
indexed entities."

Not sure what exactly that means. What are you using this method for? Maybe you 
could 
provide a use case. 

Do you have any suggestion on how to add this into the the current API? Do you 
want to
have something like isRoot on IndexedTypeDescriptor (thought I am not quite 
sure yet what
"root" means in this case.


--Hardy


_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to