This content has been marked as final. Show 1 reply
In theory we could analyze the static queries and transparently index the right properties (at least for non true full-text queries). Hibernate search can accept programmatically driven metadata (ie no annotation).But in practice we will very likely require people to provide the metadata anyway: it's easier for the first round and the analysis does not work for dynamic queries and true full-text queries. Provided we need some metadata, why not use the hsearch @annotations?