Displaying 20 results from an estimated 20000 matches similar to: "Question about the Fail over on the ferret server"
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 ->
2007 Mar 09
5
memory leak in index build?
I have a script (below) which attempts to make an index out of all the
man pages on my system. It takes a while, mostly because it runs man
over and over... but anyway, as time goes on the memory usage goes up
and up and never down. Eventually, it runs out of ram and just starts
thrashing up the swap space, pretty much grinding to a halt.
The workaround would seem to be to index documents in
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
2007 Jun 22
2
clean uninstall for ferret
I installed ferret and it cleaned me out!!!
I do the following:
__________________________
# gem install ferret
Need to update 4 gems from http://gems.rubyforge.org
....
complete
Select which gem to install for your platform (i386-linux)
1. ferret 0.11.4 (ruby)
2. ferret 0.11.4 (mswin32)
3. ferret 0.11.3 (ruby)
4. ferret 0.11.2 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building
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 =
2007 Oct 04
1
Help Installing Ferret Gem on Media Temple Grid Server
It seems that I''ve successfully installed the ferret gem on my Media Temple
Grid Server [ ferret 0.11.4 (ruby) ] but now my application won''t start and
gives me this error in my mongrel.log
/home/25280/data/rubygems/gems/gems/ferret- 0.11.4/lib/ferret_ext.so:
libruby1.8.so.1.8: cannot open shared object file: No such file or directory
- /home/25280/data/rubygems/gems
2007 Apr 05
4
intalling ferret
i have this error when i try to install ferret
C:\Documents and Settings\>gem install ferret
Need to update 6 gems from http://gems.rubyforge.org
......
complete
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install ferret
creating Makefile
nmake
2006 Jan 13
2
uninitialized constant Ferret
I get this error message from the following code:
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/tmp/index'')
index << {:title => "Programming Ruby", :content => "blah blah blah"}
index << {:title => "Programming Ruby", :content => "yada yada
2008 Mar 20
1
Ferret installation problem
Hi All,
I got one problem in the installation of ferret.I am using rails 2.0.2 and
IDE is radrails. When I am going to install ferret, it is showing one error.
i.e failed to building gem native extension.
And
D:/Program Files/ruby/bin/ruby.exe extconf.rb install ferret
D:/Program is not recognized as an internal or external command, operable
program or batch file.
I am new to ROR. But I want to
2008 Jun 04
2
Is Ferret''s SVN repository down?
Is Ferret''s SVN repository down? I''m trying to get the source from
svn://davebalmain.com/ferret, but I keep getting "Connection Refused"
errors. Did the URL change, or is Ferret''s repository really down?
--
Bira
http://compexplicita.wordpress.com
http://compexplicita.tumblr.com
2007 Sep 01
2
Can lucene use index generated by ferret?
I found it quite fun to generate index by ferret. However, I had to
use lucene now. Can I use the index that I''ve already done by ferret?
ps. Lucene 2.2.0 vs Ferret 0.11.4
Thx!
--
Posted via http://www.ruby-forum.com/.
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of
Ferret / aaf usage), I have received 8 messages stating that our app
encountered a Ferret::QueryParser::QueryParseException. For instance:
A Ferret::QueryParser::QueryParseException occurred in foo#search:
Error occurred in src/q_parser.y:279 - yyerror
couldn''t parse query "com -- 404". Error message
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
2008 Mar 01
3
Possible bug when creating a Ferret::Search::Sort object?
I may have run across a bug in Ferret: if throws a segmentation fault
when I try to create a Sort object using the default fields (SCORE and
DOC_ID), but setting reverse to true.
Here''s the minimal example:
#!/usr/bin/env ruby
require ''rubygems''
require ''ferret''
Ferret::Search::Sort.new
Ferret::Search::Sort.new(
[
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
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
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 22
1
Make ferret serach for english words like "and"
I use ferret on a danish site where I would like ferret to search word
like "under" and "and". These are words that are excluded by ferret but
have a different meaning in danish.
Can you dissable this in ferret?
Cheers
Mattias
--
Posted via http://www.ruby-forum.com/.
2006 Aug 28
1
How should this be done with ferret 0.10.1
Hi i like the new version of ferret, has solved a few of my problems but
i''m unsure of how to implement the following code in the new version of
ferret?
if section
if !section.empty?
qp = Ferret::QueryParser.new("section")
query = qp.parse("\"#{section}\"")
bq.add_query(query, Ferret::Search::BooleanClause::Occur::MUST)
filter_on =true
end
2007 Dec 19
1
Payload support in ferret
Hello All:
This is potentially a ferret and ruby newbie question. I RTFM-ed (the
oreilly shortcut anyway) and didnt find anything obvious.
Are there plans for Ferret to support the notion of "payloads" introduced in
Lucene 2.2. Payloads are basically arbitrary metadata that can be stored for
each term. For example, for each term I can store, say, font information for
the term. (