| When using org.hibernate.search.engine.impl.ImmutableSearchFactory.createQueryDescriptor(Query, Class<?>...), we provide the targeted entities so that we can determine the correct backend to use. But those targeted entities are not saved, so when using org.hibernate.search.FullTextSession.createFullTextQuery(QueryDescriptor, Class<?>...) later to create the actual query, we have to provide the targeted entities again... This feels wrong, and we should do something to avoid it. |