search for: ryansk

Displaying 7 results from an estimated 7 matches for "ryansk".

Did you mean: ryank
2007 Mar 28
6
trouble with PerFieldAnalyzer
I''m having trouble with PerFieldAnalyzer (ferret version 0.10.14). Script: require ''rubygems'' require ''ferret'' require ''pp'' include Ferret::Analysis include Ferret::Index class TestAnalyzer def token_stream field, input pp field pp input LetterTokenizer.new(input) end end pfa =
2007 Apr 07
19
Constant 0.11.4 Errors
Folks, Since upgrading to ferret 0.11.4 on Mac OS X Tiger, I''ve been running into constant crashes when running my Rails tests. Here''s an example of the output. -- snip -- 1) Error: test_published_blog_can_be_ferreted(BlogTest): Ferret::FileNotFoundError: File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input
2007 Apr 03
1
trac browser "Access Denied"
When I try to browse the source in trac, I get "Access Denied" errors. Try to click on the links on [1]. -ryan 1. http://ferret.davebalmain.com/trac/browser
2006 Aug 21
4
indexing multiple languages with acts_as_ferret
I have an applicaiton where I''m indexing content in a number of languages, all encoded in UTF8. I would think that having my locale set to en_US.utf8 would be sufficient to make this work in ferret/acts_as_ferret, but I keep running into problems, even with english text. What have others done to cope with these encoding difficulties? -ryan
2007 Apr 01
7
baffling sort problem
I had sort-by-date working almost perfectly with my app. It was behaving as expected for most data, but had a few hiccups with certain data. I investigated and discovered that the correct data was storing this in my ferret index: "1999-10-18 00:00:00" and the incorrect data was storing this: "Mon Oct 18 00:00:00 EDT 1999" (oops...) So I of course had to fix the
2007 Apr 12
1
[AAF] concurrency in ferret-server
AFAICT, ferret_server should be able to handle multiple clients writing to it at once, since ferret itself is thread safe. However, it''s not clear whether running concurrent index rebuilds on different would be possible, since they run inside ferret_server. Anyone have experience with this? -ryan
2006 Aug 14
1
respond_to? in acts_as_ferret results
acts_as_ferret''s search results use #method_missing to forward method calls to the underlying result object. However, those methods are represented in #respond_to? Here''s a simple fix for that: module FerretMixin module Acts module ARFerret class SearchResults def respond_to?(name) self.methods.include?(name) || @results.respond_to?(name)