1 Nov 2002 07:31
Re: Query Boosting
Harpreet S Walia <harpreet <at> sansuisoftware.com>
2002-11-01 06:31:36 GMT
2002-11-01 06:31:36 GMT
Thanks a lot Dave and Ype . Dave , I tried the setBoost you had mantioned. what i found is that i have to set the boost of the other fields to 1 in order to get proper results . i am not sure why , but its working(Continue reading). Ype, the other option that u suggested is great . i guess this is a more proper way of doing it . i also found some references to the same in the mail archives. Thanks once again. Regards, Harpreet ----- Original Message ----- From: "David Birtwell" <David_Birtwell <at> vwr.com> To: "Lucene Users List" <lucene-user <at> jakarta.apache.org> Sent: Thursday, October 31, 2002 11:41 PM Subject: Re: Query Boosting > Harpreet, > > This looks like a fine solution to me. As an alternative, you could use > Field boosting at index time. Before you add the security credential > field to the lucene Document object, you could call field.setBoost(0.1f). > > FYI, field boosting is not part of the release. You can get it from the > public CVS. >
.
Ype, the other option that u suggested is great . i guess this is a more
proper way of doing it . i also found some references to the same in the
mail archives.
Thanks once again.
Regards,
Harpreet
----- Original Message -----
From: "David Birtwell" <David_Birtwell <at> vwr.com>
To: "Lucene Users List" <lucene-user <at> jakarta.apache.org>
Sent: Thursday, October 31, 2002 11:41 PM
Subject: Re: Query Boosting
> Harpreet,
>
> This looks like a fine solution to me. As an alternative, you could use
> Field boosting at index time. Before you add the security credential
> field to the lucene Document object, you could call field.setBoost(0.1f).
>
> FYI, field boosting is not part of the release. You can get it from the
> public CVS.
>
Another option is to do what we're doing, and write a daemon
which talks to Lucene on the server it runs on, and also serves
requests coming in on a specific port. That way many clients
can have the benefit of one index.
You are welcome to our source, once we've got it to a stage
where we can wrap it all up nicely and Open Source it. As
it stands it is currently working well in a beta form.
Cheers,
Paul.
Otis Gospodnetic wrote:
> That is the approach I took at my previous job, which involved some
> Lucene work. I used sdist, to securely distribute the whole index (the
> whole dir with index files) to a number of remote machines.
>
> This may not work well if indices need to constantly be in sync, and if
> the index can be modified on all index nodes.
>
> How about using JMS and publish/subscribe with maybe time-stamped
> messages, etc.?
>
> Otis
>
> --- Ype Kingma <ykingma <at> xs4all.nl> wrote:
> > On Friday 01 November 2002 15:05, Rob Outar wrote:
RSS Feed