After discussing the issue with Hardy I've solved the issue by allowing all() queries for unindexed types but throwing an exception for all other kinds of queries. As the fields from sub-types can't be referenced in the query, all() seems the only useful one, and for this one in turn we don't need to access the analyzer.

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