From: David Balmain Date: 2005-11-16T02:23:51+09:00 Subject: Re: Ferret 0.2.1 (port of Apache Lucene to pure ruby) Hi Jay, You've got me puzzled too. Would it be possible for you to send me a full example of this strange behaviour. It's possible that it only happens on OS X. :( I really need to get my hands on a Mac for a day because there seems to be a few problems with that environment. Hopefully we'll have this all sorted out soon. Thanks, Dave On 11/16/05, jallen wrote: > I'm really excited about this library. However, after testing it out > I'm a little puzzled by the behavior. To test it out I added about 20 > documents, each containing the same 5 fields (with different field > values in each doc). When I then try to query, the results I get seem > random - that is, they don't always return documents that I'd expect > should be matching. Example: > > doc = Document.new > .... > doc << Field.new("name", "foobar", Field::Store::NO, > Field::Index::UNTOKENIZED) > .... > index << doc > > Now when i call search_each("foobar"), i dont see a result (with some i > do, others i don't). However, if I call search_each("foobar~"), then it > seems to reliably return the expected matches. Any tips? > > > -jay > (running ruby 1.8.2 on OS X 10.3.8) > > >