Maybe that not solve my question, because, in case that I need put
different relevance?, what I need put in my search query? Suppose tat
I am using xapian
thanks
On 11/7/07, James Aylett <james-xapian@tartarus.org>
wrote:> On Wed, Nov 07, 2007 at 11:15:52AM -0500, Aleph Thomas wrote:
>
> > Hello all, I need know how make some think as this, I have 4 fields in
> > my DB, I need make search using this way using relevance by field.
> >
> > field1 "Article Title" (0.30)
> > field2 "Article Type" (0.30)
> > field3 "Article Description" (0.30)
> > field4 "Article Content" (0.10)
> >
> > Using that I can organize my articles that the most important is
> > recovery for title, type, description.
>
> If you use scriptindex, you can bump the weight on the first three to
> 3, and you should get that effect. (Assuming I understand correctly
> that you just want some fields to contribute more forcefully to the
> final rank of a matched document.)
>
> J
>
> --
>
/--------------------------------------------------------------------------\
> James Aylett xapian.org
> james@tartarus.org uncertaintydivision.org
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss@lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>