[KinoSearch] Omitted results for different num_wanted values

Marvin Humphrey marvin at rectangular.com
Wed Jul 1 13:42:40 PDT 2009


On Wed, Jul 01, 2009 at 10:17:19PM +0200, Nick Wellnhofer wrote:
> 
> I gave 0.30_02 a try and noticed that some searches with num_wanted => 10
> return different results than searches with num_wanted => 20. One of the
> first ten results with num_wanted => 20 is missing from the results with
> num_wanted => 10. All those searches return between 11 and 20 total results.

OK.  Clearly that shouldn't be happening, and we have tests in the test suite
to confirm that (t/511-sort-spec.t)... it seems they aren't rigorous
enough...

In the absence of a failing test case, I have some questions:

  * Is this index built all at once, or modified incrementally?
  * Are you using a SortSpec?
  * If you're sorting by score (the default), what are the scores of the hits?
  * Any deletions?

Marvin Humphrey



More information about the kinosearch mailing list