It eventually should be per index but for now let's make it global to get
the groundwork for it in place. I'll change the property to
hibernate.search.similarity. We can specify that this may change in the
future.
Or
Do you want it in place now? If so, what's the best way to specify the
Similarity per index?
Maybe - hibernate.search.similarity.indexname?
John G.
-----Original Message-----
From: hibernate-dev-bounces(a)lists.jboss.org
[mailto:hibernate-dev-bounces@lists.jboss.org] On Behalf Of
hibernate-dev-request(a)lists.jboss.org
Sent: Sunday, December 02, 2007 10:00 AM
To: hibernate-dev(a)lists.jboss.org
Subject: hibernate-dev Digest, Vol 18, Issue 1
Send hibernate-dev mailing list submissions to
hibernate-dev(a)lists.jboss.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/hibernate-dev
or, via email, send a message with subject or body 'help' to
hibernate-dev-request(a)lists.jboss.org
You can reach the person managing the list at
hibernate-dev-owner(a)lists.jboss.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of hibernate-dev digest..."
Today's Topics:
1. HSearch-133 (John Griffin)
2. Re: HSearch-133 (Emmanuel Bernard)
----------------------------------------------------------------------
Message: 1
Date: Sat, 1 Dec 2007 12:23:04 -0700
From: "John Griffin" <jgriffin(a)thebluezone.net>
Subject: [hibernate-dev] HSearch-133
To: <hibernate-dev(a)lists.jboss.org>
Message-ID: <000901c8344f$98a833c0$f33c10ac@desktop>
Content-Type: text/plain; charset="us-ascii"
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.