similar to: Naming conflict between Ferret and my own model class

Displaying 20 results from an estimated 40000 matches similar to: "Naming conflict between Ferret and my own model class"

2008 May 09
0
doing a join between two ferret indexes?
Hello, everybody, we have a situation where there are two sets of information about documents - slow changing and fast changing properties. We index documents by slow changing properties (content) using Ferret directly, and it works rather well. But now we would like to filter the searches by a fast-changing property, that is calculated separately, e.g. "isBookAvailable". The
2007 Nov 05
0
Partial Class Definition if Ferret Server Not Running
When using a remote ferret server, if the ferret server is not running the acts_as_ferret class method will raise an exception. This causes the model class to only be partially defined, and therefore all use of that class in the rails application will explode until the rails process is restarted. This stems from the fact that ensure_index_exists is called on the server just before the
2007 Jan 11
1
Ferret Locking issues
Dave and all, I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of lock errors. Not always but around 5% of all searches (aspecially during peak periods). Here are the messages I get: A NameError occurred in szukaj#index: uninitialized constant Ferret::Index::Index::LockError [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
2005 Dec 14
2
undefined method `add'' for Ferret::Search::BooleanQuery
Up to now in my ferret development I have been using simple single-word strings as my search queries. I just now am trying to increase the complexity of my queries. When I was passing a single word with no spaces in my index searches, like so: count = index.search_each(''testing'') do |d, s| ... end everything worked fine. But now when I do something like this: count =
2006 Jun 19
0
Ferret on a production site
Over the weekend we launched http://tourb.us, a social search site for live music that makes heavy use of ferret. We''re using version 0.3.2 and have had very few problems so far. You can read about some of our ferret usage here: http://blog.tourb.us/archives/ferret-and-location-based-searches I''d be very interested in hearing from other people who have ferret running on a
2007 Feb 19
2
Ferret seg-faulting during search
Hi, I''m using ferret and running into troubles with it seg faulting during searches. The index I''m searching is static and is only updated in an offline way once every couple weeks. The segfault isn''t deterministically reproducible, but if I hammer ferret hard enough I can reliably get it to crash. The problem seems to have something to do with how memory is shared
2006 Sep 20
2
bad interaction of ferret (0.10.5) and mongrel on linux
We have an application that uses Ferret and acts_as_ferret that we just upgraded to Ferret 0.10.5 (from 0.9.5) and the corresponding version of the acts_as_ferret. Everything works as expected on my laptop, which is running mongrel 0.3.13.3. When I deploy the application on our server, which is running some version of Red Hat Linux, I can''t get Ferret to work at all when
2006 Dec 22
0
Error using Ferret - ferret/index.rb:271:in `delete''
We are using Ferret on our site answeru.com. Today all of a sudden we started getting Ferret errors while users were trying to register or log into the system. I am not a Ferret techie - I apologize if a similar problem has already been asked or if it is not really a Ferret issue. Any ideas: IO Error occured at <except.c>:79 in xraise Error occured in fs_store.c:324 - fs_open_input
2007 Aug 10
3
Different ferret fields for instances of the same model?
Hi all, So far as I know, while using acts_as_ferret, we should add the following declaration in the ActiveRecord model which is going to be indexed: acts_as_ferret({:fields => @@ferrect_fields}) in which @@ferrect_fields is a hash containing all the field to be indexed. This is pretty much for some simple situations. But I got a more complex situation that I want to define the fields to be
2006 Nov 30
2
Fatal error when require ferret
Hello list, I just started using ferret and it really doesn''t go my way. Doing gem install ferret outputs -> make install /usr/bin/install -c -m 0755 ferret_ext.so /var/lib/gems/1.8/gems/ ferret-0.10.13/lib make clean Successfully installed ferret-0.10.13 Installing ri documentation for ferret-0.10.13... Installing RDoc documentation for ferret-0.10.13... In ferret.rb ->
2005 Nov 22
1
Ferret NoMethodError
Using the current ferret gem (on Win-XP): irb(main):001:0> require ''ferret'' c:/ruby/lib/ruby/1.8/fileutils.rb:950: warning: already initialized constant OPT_TABLE => true irb(main):002:0> include Ferret => Object irb(main):003:0> index = Index::Index.new => #<Ferret::Index::Index:0x3477ba8 @qp=nil, ...> irb(main):004:0> index << "This is
2007 Sep 20
1
Interesting question on how ferret indexes work
I have a question about how Ferret handles intersection queries. Say I do an intersection search on two fields, so I do ''ruby author:(jared)'' (no quotes) Does Ferret do some kind of fancy index intersection to efficiently retrieve only items that meet both queries? Or does it just find all the ruby''s, then prune away everything that doesn''t match
2006 Oct 10
2
Ferret returning too many results
Hi, I just upgraded from acts_as_ferret 0.2/Ferret 0.9.x to acts_as_ferret 0.3/ferret .10.9, and i''m getting a strange behavior: searches are returning far too many results, most of them superflous. i''ll paste in my code below, it''s pretty simple. i''m googling like mad, and going through both the source and the forums, and having trouble finding what could
2006 Jun 05
6
Ferret Win32 Gem for windows users ...
Hi and thanks for Ferret! I''m wondering if it would be possible to create a Ferret Win32 gem which includes the c performance code pre-compiled for those of us without a C compiler handy ? Zed Shaw seems to have cracked this particular nut with his Mongrel Win32 gem. Alternately, is there a zip of the Win32 .so Ferret needs that I could download and manually install? Kind Regards
2006 Oct 16
0
seg fault, ferret 0.10.11
Hi, we''re using Ferret 0.10.11 with acts_as_ferret (stable from svn), on a unix box, running rails 1.1.6 in production. a few days ago i rebuilt the index (by deleting the previous one and letting acts_as_ferret do its thing), and it ran fine for a few days. this evening i got a seg fault when one of the indexes was being updated via aaf, and now all ferret searches are busted,
2007 Apr 13
4
[Ferret] QueryParser memory leak bug (Joyent/OpenSolaris)
QueryParser fails badly allocating enormous amount of memory when processing query strings with special/accented characters. See: irb(main):002:0> require ''rubygems'' irb(main):003:0> require ''ferret'' irb(main):004:0> include Ferret irb(main):005:0> index = Index::Index.new irb(main):008:0> index << "something" # Now the error
2006 Feb 10
0
Ferret Trampling Namespace
Greetings. Apologies if I missed something like this in the archives or internet, but I''m having issues using Ferret with Rails. Specifically, I have a class class "Weight" in my application (it happens to be a model). My app runs perfectly fine until it first executes "require ''ferret''". At that point, my definition of the class "Weight"
2006 Nov 23
0
Two repeatable crash bugs in Ferret proper
Hi guys! Been reading this list for a while. I have two repeatable Ferret crash bugs, both seg faults. 1. The first bug appears to seg fault Ferret when you use quotes in a search argument (eg ''file_name:"file name"'') 2. The second bug appears to seg fault Ferret when you attempt to index text with very long tokens (above 256 chars). It may have something to do with
2007 Jun 04
1
Ferret install on WinXP fails - procedure entry point rb_w32
Hello. I''m trying to use the ''acts_as_ferret'' gem with Rails. Rails: 1.1.4 and 1.2.3 OS: WinXP I''ve installed both Ferret and the plugin using Ruby Gems: C:\>gem install ferret Successfully installed ferret-0.11.4-mswin32 Installing ri documentation for ferret-0.11.4-mswin32... Installing RDoc documentation for ferret-0.11.4-mswin32... C:\>gem install
2007 Mar 05
2
Warming up a new Searcher/Reader (Ferret 0.10.9 win32)
Hi, I have a largish index [700MB] which is updated from time to time, requiring me to close and recreate the Ferret::Search::Searcher to use the latest index. My problem is that the first few searches on the new index are slow [by comparison to before the close/recreate], I''m guessing because the new index is being loaded into RAM by my OS and into Ferret as needed. I''m