is it specific to a given index or should rather be global for all indexes?
If the latter, I would remove .default which is really here for index based properties.

On  Dec 1, 2007, at 14:23, John Griffin wrote:

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