similar to: Already existing "local google search" project using Rails and Ferret?

Displaying 20 results from an estimated 30000 matches similar to: "Already existing "local google search" project using Rails and Ferret?"

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
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 08
1
acts_as_ferret to search partial phrases and fuzzy
Hi All, I was wondering if anyone had experience of extending AAF plugin for Rails to implement a broader query ? The documentation and the demo provided on the http://projects.jkraemer.net/acts_as_ferret/ wiki seems to only match full text queries, or partial when using a * wildcard. Ideally, I am trying to acheive something similar to the following (pseudo code): def search @query
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/.
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
2006 Dec 14
0
Instant Ferret Search aka Ajaxed
I have a question; I am trying to implement an instant feedback search with ferret, similiar what we know with Ajax and MySQL. Does anyone have an idea regarding why a normal observation field won''t work with ferret? Any help would be greatly appreciated, and yes Ferret is amazing. Thanks upfront. -- Posted via http://www.ruby-forum.com/.
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
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
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 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
2007 Oct 10
2
Multiple index instances and ferret/acts_as_ferret
We''re running Ferret and acts_as_ferret in our production environment. We have multiple mongrels talking to a single index on a separate (virtual) server over DRb. This is working ok for now, as our index updates are fairly infrequent. I''m concerned with the lack of rendundancy/scalability in this layout. Our index won''t get too big - maybe 100k indexed objects, each no
2006 May 04
1
Ferret and rails question
Is ferret the best way to implement a search option in your app? If so what is a best way to do it - the plugin or the wiki tutorial? -- Posted via http://www.ruby-forum.com/.