Displaying 20 results from an estimated 20000 matches similar to: "Instant Ferret Search aka Ajaxed"
2006 Jul 11
2
Ferret 0.9.4 C extensions and Macbook Pro
Hello,
I am developing on a MacBook Pro.
I had installed make and the gcc compiler in order to
take advantage of the C extensions, and I installed the ferret 0.9.4
gem.
When I installed the gem, it compiled the C extensions as part of the
installation
process for the gem, and I received this output:
Attempting remote installation of ''ferret''
Building native extensions. This
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 =
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
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello,
I''ve installed the Ferret gem and also got the act_as_ferret code from
the wiki.
I''ve set up my model "Branch" to act as ferret using the code below.
acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']}
I''ve also set up a ferret_controller with the code below
def find
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
2006 Aug 03
1
Is Ferret the standard rails search engine?
Is Ferret the standard rails search engine?
I''m looking to search the file system and MySQL.
TextSearch is working fine for MySQL.
http://wiki.rubyonrails.org/rails/pages/TextSearch
Is Ferret the solution that most people are using
for documents in the file system?
Thanks.
Greg
--
Posted via http://www.ruby-forum.com/.
2006 Jan 10
1
Ferret -- Search Partial?
I''d like to implement the search capabilities of Ferret and am
looking for sample code to see how it''s done. I''m thinking my
controller creates the index when "Search" is clicked and a partial
is rendered. What is this partial supposed to look like? Is it built
in to rails/Ferret? Thanks for the help!
Cheers,
Hasan Diwan <hasan.diwan@gmail.com>
2006 Nov 24
2
advanced search with ferret?
Hello,
I''m a novice to ferret, so far only used it via acts_as_ferret. My
question is about a recommended pattern for an ''advanced search'', which
would be searching by all fields of a model and some fields from related
models, with range search, expression search and wildcards. The kind of
search in which a user is presented with a huge form that allows them to
set
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
2008 Apr 20
1
Picolena, a ferret+rails documents search engine
Hi everybody!
I am proud to present you a small project I have been working on for a
while:
Picolena, a documents search engine written in Rails.
( http://picolena.devjavu.com/ ).
It obviously uses Ferret for indexing and searching, and adds some plain
text extractors in order to index OOffice.org, pdf and MS Office
documents (and some others as well).
Everything is packed in a gem (gem install
2007 Jun 24
1
Example for using ferret search engine
Hi,
Is there any application where I can see the usage of Ferret engine(like
example implementation). I have some difficulties in using it, sending
query and getting the results.
Thank you,
Raj.
--
Posted via http://www.ruby-forum.com/.
2007 May 22
1
Bug in Ferret::Search::SortField::SCORE ??
i have been trying to get this to work for a while now. my controller
is
sort = [ Ferret::Search::SortField::SCORE_REV ]
@results = Record.multi_search(params[:search_terms], [ Link, Post,
Event ], {:limit => :all, :sort => sort })
and in my view i just render a conglomeration of the appropriate
partials for each model. it seems that no matter what i do, i can''t get
the
2007 May 08
1
acts as ferret javascript.back fails after a search result
hi,
i use ferret in my application and when the user uses the search, i
return some records. the user then clicks on a result to view details.
on the details page, i have a javascript.history.back to return to the
search result. however, i get the expired results page and the user has
to refresh the browser. is there a simple way to solve this?
thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Jul 05
1
how to search date with ferret and acts_as_ferret?
Hey all,
How can I search date with ferret? Do I need to submit them in a special format?
Right now I have in my Item model:
acts_as_ferret :fields => [:created_on]
with eg created_on = Thu May 11 17:00:00 -0500 2006
now when I do Item.find_by_content("created_on:<#{Time.now}")
I get nil, I''m probably doing something wrong.
Any idea how to fix it?
thanx in advance
2007 Oct 31
0
Already existing "local google search" project using Rails and Ferret?
Hi everybody!
I''d like to setup a "local google search" at work:
- users would put data in shared directories on a samba server,
without really caring about folder structure
- ferret would index those directories every n hours
- users could still get access to those data via samba
- but in order to find them easily, some rails app would be used as a
front-end to show the most
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all,
Im a newbie to ferret.I have installed the act_as_ferret gem and i
actually want to search for some content in the model,but per user.
My model has data,user_id.So within the data column i have to serach for a
word if it exists for a given user.
So can i achieve that ? presently i know that it just searches the "data"
column irrespective of the user given.
Can someone help me
2008 Jun 04
1
Ferret''s Memory usage when searching.
Hello,
We are experiencing some performance problems when using Ferret and we
are trying to isolate the problem.
We have about 80 GB in Indexes for one of our clients and when a
search is performed on those indexes the application gets really slow
and eventually it stops responding. We''ve been monitoring the memory
usage, and it rises very rapidly as the indexes are been loaded.
2007 Jan 05
7
Hitting Files per Directory Limits with Ferret?
Hey all!
We''ve been using Ferret to great success these past six months. But
recently we''ved tried adding many new ContentItems (only thing being
index by Ferret at the moment), and things came crashing to a halt.
ferret gem: 0.10.9
acts_as_ferret plugin (not sure which version)
How we''re using the plugin:
class ContentItem < ActiveRecord::Base
acts_as_ferret
2006 Aug 23
4
Ferret 0.10.0 bugs
Hi all !
Is Ferret 0.10.0 realy stable ?
Because I converted all my code to the new API and many strange things
appened.
For exemple this, when I run a import script :
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.0/lib/ferret/index.rb:98:in
`initialize'': End-of-File Error occured at <except.c>:103 in
xpop_context (EOFError)
Error occured in store.c:197 - is_refill
current