Displaying 20 results from an estimated 8000 matches similar to: "Ferret and right to left languages support"
2007 Apr 08
10
Ferret and non latin characters support
I''ve successfully installed ferret and acts_as_ferret and have no
problem with utf-8 for accented characters. It returns correct results
fot e.g. fran?ais. My problem is with non latin characters (Persian
indeed). I have tested different locales with no success both on Debian
and Mac. Any idea?
(ferret 0.11.4, acts_as_ferret 0.4.0, rails 1.1.6)
--
Posted via http://www.ruby-forum.com/.
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my
site.
Here''s my environment:
Linux version 2.6.16.29-xen_3.0.3.0
Ruby 1.8.4 (2005-12-24 [i386-linux]
Rails 1.2.3
mongrel (1.0.1)
mongrel_cluster (1.0.2, 0.2.1)
ferret (0.11.4)
acts_as_ferret stable plugin
Ferret DRB server
When I don''t use an analyzer with my acts_as_ferret declaration,
everything works
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 May 07
0
using acts_as_ferret in persian language
hi
i installed ferret and acts_as_ferret successfully.
but my Persian character search has not correct result.
my code:
acts_as_ferret :fields => [:fname] ,
:analyzer => Ferret::Analysis::RegExpAnalyzer.new(/./,false)
--
Posted via http://www.ruby-forum.com/.
2007 May 22
6
Ferret file not found error on item delete
Hi ferreters:
I''ve already posted this in rails, but someone there suggested this
would be better.
I''m getting a ferret error when I try to delete any item that has been
previously indexed. I just installed ferret, so the indexes aren''t big
or anything. What I''m trying to do is to just delete an item on a table
that has been index. Here''s the error
2007 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error
2006 Jul 03
3
Ferret not returning the right results
I have ferret setup in my model with multiple fields, but when I do a
search on the value that might be stored in two fields, I get no
results.
Here''s an example:
"Jim 12333"
Where Jim is a name field, and 12333 is a zip code. I have this in my
model:
acts_as_ferret :fields => [ ''name'', ''zip'' ]
I''m not sure
2007 Jul 04
2
problems after gem update
Hi, I had ferret working wonderfully but i am regretting doing a gem
update today.
I had alot of trouble first installing it and was really happy to have
it working. The upgrade was from 0.3.1 to 0.4.0.
The problem is;
in the rails console,
>> @results = Book.find_by_contents("peter pan")
=> #<ActsAsFerret::SearchResults:0x487040c @total_hits=0, @results=[]>
Its indexing
2007 Jun 06
6
Is anyone successfully using acts_as_ferret with Ferret 0.11.4?
Hi all,
I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting
intermittent segfaults that seemed to be due to a bug which was fixed
(changeset 749).
Unfortunately, 0.11.4 + acts_as_ferret seems to be a bad combination. I''m
getting the some "fs_store/File Not Found Error occured at <except.c>:117"
which was reported in the "Constant 0.11.4
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in
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
2007 Apr 13
5
[Ferret] Serious memory leak on Joyent / TextDrive / Solaris
There is serious memory leak bug in ferret. I''m having this error on
TextDrive Container (aka. Joyent Accelerators) OpenSolaris with Ferret
0.11.4
It happens while searching for some terms with accented or special
characters.
This makes ferret to allocate lots of memory (usually reaching 3+ GB)
and failing if another query like this is executed.
Any ideas on that, could this be locale
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret
plugin from
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
I''ve followed the instructions here
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the
server, and put acts_as_ferret :remote => true on one of my models (Ad)
I can also start the ferret_server, but when
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
Hi,
Having recently converted to using ferret_server on my staging site my
deployment is now failing due to the following error when attempting to
rebuild the indexes on my models:
from (irb):1>> Post.rebuild_index
Errno::ENOENT: No such file or directory - script
from (druby://127.2.0.1:9100)
/usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir''
from (druby://127.2.0.1:9100)
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone,
I''ve a RoR application. I am trying to build full text search capability
into it. I installed Ferret. After that I installed the act_as_ferret
plugin. I''ve also put the acts_as_ferret inside the <model>.rb file .
I''m using the find_by_contents to get the search results.
I''m getting the following error. I''ve no clue and I
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all,
the current acts_as_ferret trunk is now ported to Ferret 0.10.
Get it while it''s hot at
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin
Nearly everything works, besides this:
- all queries are ORed (no way to tell the QueryParser to build AND
queries by default)
- more_like_this is broken
I''m working with Dave to fix these things soon. The last Ferret 0.9.x
2007 Oct 03
3
The ferret logs
Hi.
We''ve had some problems with ferret not being able to load our classes
(stack trace below for the curious).
I nailed it down to a deployment issue, where an old instance of ferret
drb was running. I don''t understand the details quite yet, but the
result was the the old ferret was never shutdown during redeployment,
and attempts were made to start up a new one.
Anywho,
2007 Mar 25
1
kind of stuck with new version of ferret gem
....
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:201:in
`send''
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:201:in
`rebuild_index''
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:198:in
`rebuild_index''
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:197:in
`rebuild_index''
2007 Jul 24
1
Why can''t find index file sometimes?
I''m using ferret and acts_as_ferret,i can success save record,but
sometimes when i update record,index not found error occurred(not
always).I don''t know why:(
[quote]
File Not Found Error occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
tried to open "/home/dev/www/index/development/rcu/_12q.cfs" but it
doesn''t
2007 Oct 01
2
FileNotFoundError
Hi, I saw someone else have this earlier. The recommendation is still to
downgrade to 0.11.3?
Oct 01 19:56:09 ey01-s00116 rails[3175]: Ferret::FileNotFoundError (File
Not Found Error occured at <except.c>:117 in xpop_contextError occured
in fs_store
.c:329 - fs_open_input tried to open
"/data/zendesk/current/config/../index/production/ticket/_l.cfs" but it