[Xapian-discuss] Query::MatchAll

Allen daineng at gmail.com
Mon Oct 6 11:35:08 BST 2008


$ ./quickstartindex proverbs/ "hello" a
$ ./quickstartindex proverbs/ "world" a b
$ ./quickstartsearch proverbs/ a
Performing query 'Xapian::Query(a)'
2 results found
#1      100% [hello]
#2      84% [world]
$ ./quickstartsearchall proverbs/
2 results found
#1      100% [hello]
#2      84% [world]


2008/10/6 Richard Boulton <richard at lemurconsulting.com>

> Allen wrote:
>
>> 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.
>>
>
> I don't see this with a quick test I did.
>
>  2008/9/30 Olly Betts <olly at survex.com>
>>
>>> Can you show us a simple (but complete) example program along with the
>>> output you'd expect to get from it?
>>>
>>
> Please do this.#
>
> We can't help without knowing why you don't get the results we expect.
>
> --
> Richard
>


More information about the Xapian-discuss mailing list