Marek SzczepaƄski edited a comment on New Feature HSEARCH-1348

This has the drawback of making the index quite large

I know that, but it does not hurt me so far.
User want to make general question 'google like', it means look everywhere. I'm beginer with HSEARCH, and documentation is as is, and I could not find way to build query targeting all fields in all classes.

Also the first case could be "tricked" by using org.hibernate.search.annotations.IndexedEmbedded.prefix this can be set to an empty string, then you use @Fields on type to add it with both names.

I'm almost sure that I read that it is not possible to set prefix to null. IMO it's better if i iterate built document & throw exception if duplicate field occurs.

For me it it also problem, that it is not possible to mix annotation definition with API. In my project I have guys responsible for model, and they produces major model issues. The search service technical problem can be fixed by service developer. Now the good way for developer is correct built document.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira