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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, December 02, 2007 10:00 AM To: [email protected] Subject: hibernate-dev Digest, Vol 18, Issue 1 Send hibernate-dev mailing list submissions to [email protected] 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 [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> Subject: [hibernate-dev] HSearch-133 To: <[email protected]> Message-ID: <[EMAIL PROTECTED]> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20071201/0673e18f /attachment-0001.html ------------------------------ Message: 2 Date: Sat, 1 Dec 2007 22:43:14 -0500 From: Emmanuel Bernard <[EMAIL PROTECTED]> Subject: Re: [hibernate-dev] HSearch-133 To: John Griffin <[EMAIL PROTECTED]> Cc: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="windows-1252" 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: > Im 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. Ill 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/hibernate-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20071201/6900cce2 /attachment-0001.html ------------------------------ _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev End of hibernate-dev Digest, Vol 18, Issue 1 ******************************************** _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev
