On 10/25/06, William (Andy) Minkstein <[EMAIL PROTECTED]> wrote: > Jens Kraemer wrote: > > On Wed, Oct 25, 2006 at 06:41:14AM +0200, William Minkstein wrote: > >> I seem to be having problems with getting my searcher to be consistent > >> while indexing. I am running the latest version of ferret (0.10.13) and > >> I am using the Searchable plugin. Currently the way it indexes is by > >> using a callback in the model of either after_update or after_create to > >> index the fields that I have setup to be indexed. > > > > huh, I didn't ever hear about that plugin before - the DrB remote > > indexing stuff is quite interesting indeed. > > > 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. :) > >> Right now I update the index about once every 4 or 5 minutes. The > >> problem occurs when I do a search and either no results ( or a very > >> small amount like 2) are returned for particular keywords that > >> previously had plenty of results. I am thinking that it has something > >> to do with indexing or possibly that Searchable does not optimize after > >> it adds to the index. > > > > Did you contact the plugin author about this ? > > > > > > 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 server). Cheers, Dave _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

