[hibernate-dev] RE:HSearch-133
John Griffin
jgriffin at thebluezone.net
Sun Dec 2 15:55:03 EST 2007
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 at lists.jboss.org
[mailto:hibernate-dev-bounces at lists.jboss.org] On Behalf Of
hibernate-dev-request at lists.jboss.org
Sent: Sunday, December 02, 2007 10:00 AM
To: hibernate-dev at lists.jboss.org
Subject: hibernate-dev Digest, Vol 18, Issue 1
Send hibernate-dev mailing list submissions to
hibernate-dev at 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 at lists.jboss.org
You can reach the person managing the list at
hibernate-dev-owner at 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 at thebluezone.net>
Subject: [hibernate-dev] HSearch-133
To: <hibernate-dev at lists.jboss.org>
Message-ID: <000901c8344f$98a833c0$f33c10ac at 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.
-------------- 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 <emmanuel at hibernate.org>
Subject: Re: [hibernate-dev] HSearch-133
To: John Griffin <jgriffin at thebluezone.net>
Cc: hibernate-dev at lists.jboss.org
Message-ID: <7BF388F0-AFEB-445D-90C5-11B90B4B0709 at hibernate.org>
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
> hibernate-dev at lists.jboss.org
> 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
hibernate-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
End of hibernate-dev Digest, Vol 18, Issue 1
********************************************
More information about the hibernate-dev
mailing list