Displaying 20 results from an estimated 100000 matches similar to: "ferret setup"
2005 Dec 21
5
text search engine ?
Hi there,
What are you using for text search engine in your rails applications ?
I have been using simple search for simple applications, but then I
need to search text in model instances inside collections such as
user.documents and the like. I believe that simple search does not
support any sort of ranged queries, and sql like might be overkill for
tables with lots of records.
Bests,
Sergi
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 Apr 09
2
Ferret Demo Problem
Dear,
I have download the demo of ferret from the following svn
svn://projects.jkraemer.net/acts_as_ferret/trunk/demo
and then i run the demo http://localhost:3005/content
but i got such exception:
undefined method `acts_as_ferret'' for ContentBase:Class
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2007 Feb 10
2
Ferret and Paginating Find
Hey all,
I''ve been really happy with ferret thus far and all my search on my site
is based on it. One of the recent challenges I ran into is changing some
of my pagination within my site. Until now, I just used the tutorials
out there that talk about how to get pagination working with
acts_as_ferret.
Recently, I decided to change my pagination to begin using the
"Paginating
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2006 Jul 07
4
Help installing Ferret
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
I followed everything here but at the last I get when loading page
get_results
Can only handle a String or a Query.
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/models/result.rb:27:in `search_each''
#{RAILS_ROOT}/app/models/result.rb:27:in `search_index''
2007 May 31
2
Ferret.donate(Money.aus_dollar(200))
Remember folks, we can support the Ferret project by donating warm soft
electronic cash to the author, Dave Balmain, using the paypal buttons on
the website:
http://ferret.davebalmain.com/trac
http://ferret.davebalmain.com/trac/wiki/DonationsFAQ
We can also buy the Ferret Shortcut pdf/book from O''Reilly, also written
by Dave Balmain. It''s awesome good:
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 Apr 27
1
Ferret crashing Ruby
I''ve gotten several problems with C ferret crashing ruby. Here''s the
stack trace of my latest case:
#0 0x00000050 in ?? ()
#1 0xb74028ab in iw_close (iw=0x8685a40) at index_rw.c:947
#2 0xb7414359 in index_destroy (self=0x829ebc0) at ind.c:89
#3 0xb73f00bc in frt_ind_free (p=0x829ebc0) at r_search.c:1564
#4 0xb7f04dca in rb_gc_call_finalizer_at_exit ()
from
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 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
2006 Apr 22
2
Ferret C Indexer Error: Fields not stored in index?
Hello,
I am trying to get Ferret''s C indexer to work on OpenSUSE 10 and
fastcgi.
Indexing documents appears to work correctly but when I try to display
the results I recieve the following error:
ActionView::TemplateError (undefined method `string_value'' for
stored/uncompressed,indexed,tokenized,<title:Revit.jpg>:Ferret::Document::Field)
on line #17 of
2005 Dec 16
2
Ferret questions
Hi,
I am just getting started with Ferret, but I have a couple of
questions. Any help is appreciated.
1) Will the current Ferret implementation only work on one server due
to the index file? If it will work on multiple servers, could you
point me towards some documentation? If not, are there plans to add
support in the future?
2) This may not be Ferret-specific, but if I were implementing
2006 Dec 01
2
Ferret on Apache Installation
Hi,
had my local linux box setup and ferret was working like a champ via
Webrick.
However, when I moved to a different linux box using Apache web server,
search no worky..giving the error listed below. The site itself comes up
fine.
I''ve tried deleting all the dirs under /index and restarted the
webserver to see if re-indexing would help, but that made matters worse.
Re-indexing
2006 Jul 07
4
How to add Asia token analyzer to ferret simply?
Hi,David
Can you give me an example of how to add analyzer to ferret to Asian
languages?
My web application will have to support multi language search,which
means,for example,both Chinese and English will be searched through the
form.
Currently,I have decided to use the simple token principles,which means
that every Chinese character will be a token,although this is not so
well in some
2005 Dec 21
0
Ferret and Rails transaction
Hi,
following the discussion about acts_as_ferret on the Rails mailinglist,
there was an issue about transactions, which could result in beind the
database and ferret out of sync. I have taken a different approach from
acts_as_ferret trying to resolve the transaction problem. Instead of adding
things to the ferret index in the model, I have added it in the controller.
I have only the create part
2008 Mar 31
1
problem in installlation of ferret search plugin in rails application
When i went to installation ferret in my rails application then i have
faced a problem that is look like this
ERROR: While executing gem ... (Gem::FilePermissionError)
You don''t have write permissions into the /var/lib/gems/1.8
directory.
i used this command for ferret install
sudo gem install ferret
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 May 14
0
Naming conflict between Ferret and my own model class
I model for maintaining searches in the database is call "Search" and
Ferret also has a module called "Search". When I include Ferret in my
"Search" model class, naming conflict came out and I got the following
error:
undefined method `new'' for Ferret::Search:Module
in the SearchesController, this is because I want to create an instance
of my
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 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