One possible alternative which you have today is to use the programmatic configuration, an alternative for annotations.
You could read your own configuration file or a JVM switch and skip / not skip adding a @Field annotation on a specific field.
http://docs.jboss.org/hibernate/search/5.5/reference/en-US/html_single/#hsearch-mapping-programmaticapi
|