Thanks for the quick response. Sorry about the delay in responding, we
had a deadline we had to meet for this app we’re developing and that has
been taking up most of my life.
I am having a lot of trouble reproducing the bug I first reported. I
talked to the writer of the Searchable plugin (Seth) and he is stumped
as well. It seems that creating an index from scratch works fine and
the bug only occurs when documents are added or deleted.
A weird thing happens though once searchable starts updating the index.
It creates folders inside the index directory called development and
production. Seth claims that this is not desired behavior but I guess I
was wondering if having files or directories like that in the index
directory would cause it to behave strangely?
Another question I have is can certain characters in the text that is
being indexed cause problems when trying to retrieve search results?
Should I be filtering out any non-alphanumerics? Not sure if that
matters at all but like I said I am new to this.
David B. wrote:
On 10/25/06, William (Andy) Minkstein [email protected] wrote:
The url for author’s page is: http://searchable.rubyforge.org/ There
are things about it that are very convenient.
Hehe. I hadn’t seen this either. Seth Fitzsimmons, if you’re out
there, nice work. I’m going to be adding a DRb server to Ferret soon.
I’ll definitely be checking out your code. If you’d like to
contribute, please do.
Yes I did contact the author about this. I checked the Searchable code
that indexes records and it seems to be pretty consistent with how
people are indexing with just Ferret itself. I guess I was wondering if
anyone else experienced having inconsistent search results after
updating or adding records to their index.
I haven’t seen this problem in version 0.10.13. The way I would go
about debugging it, though, is to store all the fields in the index.
Then if you look at a certain document in the index and it contains
the data you’re searching for but doesn’t get matched in the search
results it is a bug. In this case you can send me a zipped up copy of
the index and I’ll fix the problem. Otherwise I’m not sure there’s
much else we can do (unless you can give me ssh access to your