ryanb / xapit

High level Ruby library for interacting with Xapian, a full text search engine.
MIT License
139 stars 21 forks source link

Strange number of record return with wildcard #33

Closed kpitn closed 13 years ago

kpitn commented 15 years ago

When wildcard is use in query of a term who don't match any record, all result is return

>> Product.search("fly*").size
=> 24
>> Product.search("flyd*").size
=> 4019

4019 is the total number of product in my database.

tranquiliste commented 14 years ago

Hello I have the same problem, if no result then all DB is diplayed

ryanb commented 13 years ago

I am closing all issues because I have rewritten Xapit and want to focus on immediate bugs with this new version. If you find this issue still relevant, please comment here or open another issue and I'll take a look at it.