[Xapian-discuss] Query::MatchAll

Allen daineng at gmail.com
Mon Oct 6 09:49:27 BST 2008


I havn't read examples/quest.cc, but it seems that terms affect the weights.
If you post all doc w/ same terms, you will get 100% for all results. If the
terms of docs are different, the percents of docs are different.

2008/9/30 Olly Betts <olly at survex.com>

> On Sat, Sep 27, 2008 at 10:17:41AM +0800, Allen wrote:
> > Why there still been rank when using Query::MatchAll() ?
>
> I thin I must have misunderstood your question - I just tested and I get
> 100% for all results if I modify examples/quest.cc to do this:
>
>    enquire.set_query(Xapian::Query::MatchAll);
>
> Can you show us a simple (but complete) example program along with the
> output you'd expect to get from it?
>
> Cheers,
>     Olly
>


More information about the Xapian-discuss mailing list