[Xapian-discuss] Search using relevance by field
James Aylett
james-xapian at tartarus.org
Wed Nov 7 16:22:42 GMT 2007
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 at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list