strange results on range search

Issue #239 resolved
created an issue

I tried the range search with whoosh, but i get strange results: Here some test code and the results:

What I wanted to get was every entry with greater than 55, at least for the numeric field ('num2'). For the id and text field ('num1' and 'num3') I understand that this is some sort of character comparison. Maybe as an improvement the ID-attribute could be set as an numeric value too?


Comments (2)

  1. Matt Chaput repo owner
    • changed status to open

    The problem with the NUMERIC range seems to be a bug in support for signed=False. Thanks for letting me know! I'll try to find it and fix it.

    As you said, the results for ID and TEXT fields are correct since they're compared character-by-character.

  2. Log in to comment