Displaying 20 results from an estimated 8000 matches similar to: "ferret using UTF-8"
2006 May 15
16
Ferret not able to read a Lucene Index?
Hi all,
Having problems trying to get Ferret to read an index generated by
Lucene.
Am I right in thinking Ferret should be able to read a Lucene generated
index no problem?
Using the code snippets detailed in
http://www.ruby-forum.com/topic/64099#new
Any advice gratefully received.
Many Thanks,
Steven
--
Posted via http://www.ruby-forum.com/.
2006 Jul 19
4
Ferret Indexing
Does ferret only index, when you create, or udpate a record?
Is there a way to make it index prexisting records?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 11
5
Ferret Wiki Spam - Solutions Anyone?
Hi All,
As some of you may have noticed, the Ferret Wiki has been getting
spammed like crazy. And I haven''t been able to do anything about it
because I just don''t have the time. I''m getting pretty close to
releasing 0.10.0 which has been the major draw on my time for the last
couple of months so I''m going to have some time to look into this
soon. I was
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/.
2006 Jul 18
10
searching with chinese chars
Hi all,
maybe not a Ferret question, but I assume here might have came across
that already.
I wrote a simple CGI app that adds docs into a Ferret index. The idea
is testing asian languages input and searching.
The script that does the input seems to be OK. As David mentioned in a
question I made a little while ago, Ferret''s index is agnostic, in the
sense that you can store anything in
2006 May 08
3
Index::Index.new vs. Readers and Writers
Hey gang,
A post on the Rails forum a while back had it sound like you pretty much
had to use the Index Readers & Writers if you were going to be
potentially accessing an index from more than one process. (i.e.
multiple dispatch.fcgi''s, etc)
Is this still the case, or does the main Index class do that black magic
behind the scenes? =)
I was having trouble implementing the
2006 Jun 15
3
best updating method
Hi All,
I have a Ferret index containing some cached RSS feeds.
I have a nightly cron script to cache the feeds, and I''d like to update
the index with the latest feeds.
I see the Index class has an update method, but I can''t work out how to
get the id of the relevant document to pass in.
Lets say I have a file called "google_news.xml"
I want to go:
2007 Feb 20
10
ferret webpage down
The ferret webpage at http://ferret.davebalmain.com/ has been down for a
number of days. Any idea what''s going on? or how to notify the
webmaster?
--
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 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the
following errors whenever I load a page that uses a class that uses
ferret. I have ferret 0.10.13 and acts_as_ferret. They were working
fine before the upgrade.
#<NameError: cannot remove Object::WildcardQuery>
2008 Jun 11
5
Similar words
Is there a way to get a list of similar words to the ones a user has
searched for?
So if they search for (in my case) transferaze which has no matches I
can get back an array like this [''transferase''] ?
I know I can just add ~ on the end to make it fuzzy, but what I''d like
is to be able to say "Sorry, no matches for ''transferaze''. Did you
2007 Mar 13
2
index returns all results for specific queries
Hey all,
I''m getting some really weird results when searching documents. It
*seems* to be somehow related to the document format I''m using.
I wrote a small script to replicate it:
################
#!/usr/bin/ruby
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/tmp/fooindex'', :key
2006 Jul 25
1
RDig document processing error
Hi all,
Am having problems using RDig:
With this rdig config...
cfg.crawler.start_urls = [''http://www.defensetech.org'']
cfg.crawler.include_hosts = [''www.defensetech.org'']
cfg.index.path = ''/my/path/to/index''
cfg.verbose = true
...I get this output:
$ rdig -c config/rdig_config.rb
/usr/local/lib/site_ruby/1.8/ferret/index/term.rb:45:
2007 Sep 17
3
Ferret FileNotFound error
Hi,
I have a model that I''ve been indexing and searching with ferret some
problem.
We get the following error when accessing the model
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 "/var/www/html/cuproject/index/development/album/_b.cfs"
but it doesn''t exist: <No such file or
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi.
We use FerretDrb for search. If the ferret process is down, our entire
application comes down the moment we try to save a model which is indexed.
Is there a way to decouple this relationship such that we can somehow
resume normal operations despite ferret being down and not index the model?
Thanks.
Morten
2007 Mar 18
3
"ö" causes find_by_contents not to return
I''ve installed ferret 0.10.9 together with the latest acts_as_ferret
using Windows XP and indexed a location database (geonames.org) with
Location.rebuild_index. The data is in utf-8.
Now calling Location.find_by_contents "?" does not return a result,
causes a lot of CPU load, and finally exits with an error "index.rb:702:
in ''parse'': failed to allocate
2006 Jul 26
13
tweaking minimum word length?
Hi,
Can Ferret be configured to change the minimum word length of what it
indexes? Right now it seems to drop words 3 characters or less, but
I''d like to include words going down to 2 characters. How would I do
that?
Francis
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave,
I''ve been getting some segment faults while running my tests using
0.10.14 gem so I decided to package the gem locally to add -dH and
generate core dumps for you.
So I followed instructions here
http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off
ran the tests.
I''m getting the following failures. (see this pastie
http://pastie.caboo.se/34790).
I
2008 May 03
4
silly partial qu
hi all,
i''m just trying to check a partial has been rendered, by using:
response.template.should_receive(:render).with(:partial => "tasks/list")
this passes, even if I put something bogus in the partial name, such as:
response.template.should_receive(:render).with(:partial =>
"___tassdfsdfks/list")
does anyone know why this doesn''t fail?
is this the
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 ->