<div dir="ltr">Yes James, is there any automatic way to know what weight was used for titles or more generally for terms with some prefix?<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 22, 2014 at 1:35 PM, James Aylett <span dir="ltr"><<a href="mailto:james-xapian@tartarus.org" target="_blank">james-xapian@tartarus.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 22 Mar 2014, at 08:22, Parth Gupta <<a href="mailto:pargup8@gmail.com">pargup8@gmail.com</a>> wrote:<br>

<br>
> For unsupervised approaches like BM25 this approach works well but letor does not need special weighting for title in this form as it itself assigns weights to title features separately.<br>
><br>
> But I see your concern it would be a problem when BM25 is used on the index with this setup. Hence its preferable to take a note of this uplift in title weight for xapian-letor and normalize it everywhere calculating the statistics.<br>

<br>
</div>This would need configuring, though, wouldn't it? Not everyone (and I'm thinking of people who don't index using omindex here) applies a wdf of 5 while indexing titles; they may apply a different non-1 number, or just leave it at 1 (and possibly apply weighting at search time).<br>

<span class="HOEnZb"><font color="#888888"><br>
J<br>
<br>
--<br>
 James Aylett, occasional trouble-maker<br>
 <a href="http://xapian.org" target="_blank">xapian.org</a><br>
<br>
</font></span></blockquote></div><br></div>