Re: Ferret 0.2.1 (port of Apache Lucene to pure ruby)



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)

.



Relevant Pages

  • copy error
    ... each time through loop ... It also returns a '1' which I dont not understand since it ... Shouldnt it be '0'? ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Macro for single to multiple cols. Help!
    ... Dont understand... ... dfkelly42's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=12094 ... Prev by Date: ...
    (microsoft.public.excel.newusers)
  • Re: Exclusive checkboxes
    ... only one option button on the whole page/sheet can be selected. ... I dont know if there is a way of grouping the options together. ... let me know if I am missing something. ... Prev by Date: ...
    (microsoft.public.excel)
  • RE: Is there a special interest group for VS 2005 and XP 64 develo
    ... >> I dont think there are a great many of us, so I would like to join a group ... since there are far less resources out there than for more ... >> common setups. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Can I use combination of 2 fields as a Primary Key?
    ... > HTH ... >> relationship,then force cascade delete for it.But i dont know how to do ... Prev by Date: ...
    (microsoft.public.access.formscoding)