I'm starting work on 133. I believe the class that overrides DefaultSimilarity should be specified by a configuration item probably 'hibernate.search.default.Similarity' with the classname as the value. Since the same Similarity should be used in both building the index and querying, I believe it should be set programmatically and not have to rely on the user setting it properly. I'll look at the SearchFactory level which is where I think it should go.
In the future if someone wants the capability (there are instances) we can add it.
_______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev