[Xapian-discuss] Making Title Fields Have More Weight In Xapian Search

Ryan Mahoney ryan at frameweld.com
Wed Jul 25 18:57:13 BST 2007


I'm going to check that out.  For weighting, is there a recommended 
range... or an upper limit?  I noticed in Benny's example, he went from 
weight 3 to 100.  Should he have been more or less dramatic in his 
applied weights?

-r

James Aylett wrote:
> On Wed, Jul 25, 2007 at 12:07:40PM -0400, Ryan Mahoney wrote:
>
>   
>> I'm also having difficulties applying weights to fields.  Any ideas why 
>> changing the weight value seems to have little effect on the query results?
>>     
>
> The general answer to this is, somewhat unfortunately, "because it's a
> bit complex". You can use delve to check whether the weights are
> actually different. Trying to construct 'minimal' queries to
> demonstrate the weight effect sometimes doesn't work, because of other
> aspects of the ranking algorithm.
>
> J
>
>   





More information about the Xapian-discuss mailing list