[Xapian-discuss] Random results for the same query
Charlie Hull
charlie at juggler.net
Mon Aug 13 14:22:47 BST 2007
Steije van Schelt wrote:
> Hello,
>
> I'm experiencing weird behaviour with the search results from Xapian.
>
> For example, when I search for 'php' in the database I made (about
> 4.000.000 documents, 12 gb in size) I get about 562 results. When I
> change the offset in the TOPDOC argument in Omega to 20, I get 592
> results (and so on and so on...).
>
> I've been searching the mailing list, the only post I found about it was:
>
> http://thread.gmane.org/gmane.comp.search.xapian.general/2329
>
> The weird thing is that if I disable all extra boolean terms (as stated
> in the discussion above) I get the same behaviour.
>
> I've never experienced this before, it just occured today. Is my
> database corrupt or is there something weird going on in Xapian?
I think the key word here is 'about' as in 'about 562 results'. AFAIK to
save time an exact number of results isn't calculated, so it's not
surprising that you're getting different numbers each time.
Cheers
Charlie
>
> Thanks in advance,
>
> Steije van Schelt.
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
More information about the Xapian-discuss
mailing list