similar to: fuzzy-ness to searches

Displaying 20 results from an estimated 10000 matches similar to: "fuzzy-ness to searches"

2006 Sep 19
2
acts_as_ferret and Fuzzy Searching
Hi there, I''d like to be able to tune the results of a Fuzzy search in a rails application. I''ve tried setting the following in my environment.rb file. Ferret::Search::FuzzyQuery.default_min_similarity = 0.75 Ferret::Search::FuzzyQuery.default_prefix_length = 2 When I go into the console, I can see those values as the default but when I run a search like
2005 Dec 15
0
Bug in fuzzy search
I just submitted this to Trac, including a proposed fix. I''ve never really used Trac before, so hopefully I did the right thing. Anyway, in case anyone else runs into this, the problem is that fuzzy search fails if some of your saved fields are larger than Ferret::Search::TYPICAL_LONGEST_WORD_IN_INDEX. This won''t happen in all cases where your fields are larger (for example,
2006 Mar 17
1
Fuzzy searching using act_as_ferret
Hello, My Ferret integration has gone quite well. I''m now returning all the results I need from two models using "id_multi_search" and combining the results in the view using a couple of partials. Is there any way that I can turn on fuzzy searching? Would fuzzy searching pick up basic spelling mistakes such as "Bnadit" instead of "Bandit" my experience
2007 Jul 19
1
Acts_As_Ferret only returns results when searching for "*"
Hey, I''m probably just missing something really obvious but I''ve been stuck on this problem for a while now and I''m not getting anywhere. I have installed the acts_as_ferret gem, as well as ferret according to the tutorial on RailsEnvy. My model, controller, and environment.rb files have all been modified as per that turotial. However any attempts to use the
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
2007 Mar 24
1
getting fuzzy search to work
Hello. Forgive my ignorance if this has been covered. I searched through the archives and didn''t find anything. All the blogs, tutorials, documentation I''m reading on acts_as_ferret say that to use fuzzy searching, I simply append a ~ to my query. I''m using Ferret 0.11.3 and the newest (should be) acts_as_ferret plugin. I can only get perfect matches to show up
2007 Feb 19
2
Acts_As_Ferret Tutorial
Hey guys, I wanted to share with you guys a detailed tutorial I just finished this weekend for using Acts_As_Ferret. http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial I started using Ferret and Acts_As_Ferret a few weeks ago, and I learned so much that I wanted to give back to the community by writing up a helpful tutorial that covers all the key topics in one
2007 Sep 24
2
ferret fuzzy matches
Hi guys, Is there some way of getting ferret matches string, when i do a fuzzy search? The scenario is this: 1. The user search for ''show'' 2. Nothing was found 3. So I do a fuzzy search, passing ''show~'' 4. It gives me somes results, most of all was matched with ''showcase'' 5. So I want to tell the user that: Nothing was found with
2005 Dec 14
4
Fuzzy search on a phrase
I''m trying to use Ferret to do fuzzy searches. If I use fuzzy search for just one word, it works fine: index.search(''name:gogle~0.4'') However, if I try to use a phrase, it doesn''t work: index.search(''name:"gogle search engine"~0.4'') On the other hand, I could do: index.search(''name:gogle~0.4 AND
2007 Jul 26
0
Fuzzy Searches with Multiple Terms
I''m having trouble getting fuzzy searches to work with multiple search terms. Let''s say searching ''foo'' returns results, ''bar'' returns results and ''foo bar'' returns results. When I do this fou~ bar~ it returns nothing. This, however, works fine: fou~ bar I want the fuzzy search to apply to each word, and this seems to
2005 Nov 26
6
Fuzzy searching
Hi, everyone, Just wondering if someone had come up with a good way to do fuzzy searches if you use MySQL as your database (we tried switching to PostgreSQL, but that ended up adding even more problems). Ferret sounds great, but reading through the discussion it looks like we need to solve the problem of write conflicts. I just wrote a post in ruby-talk about using KirbyBase maybe to solve
2006 Apr 15
1
Segmentation Faults with Fuzzy Queries
There are certain queries that I can execute that will cause a completely repeatable segmentation fault at the point where the search or search_each leaves my control and goes into the ferret libraries. I tried deleting my indexes and recreating them, and even so the exact same queries seg fault repeatedly after. Usually a one character change will make them succeed. Changing away from a
2007 Mar 12
5
index.rb:384 [BUG]
Hi folks, I''ve working and playing with acts_as_ferret and follow this fantastic tutorial: http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial When I try to implement the field storage tip, it crash. So, I try to make it via script/console: 1. I have a simple model called Articles: class Article < ActiveRecord::Base acts_as_ferret :fields =>
2007 Apr 11
0
Ferret
Hi, can someone give me a basic guide or any links to install the ferret plugin. Ive searched the forum but stil having problems. Im currently looking at this: http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial but having trouble. when i enter this: require ''acts_as_ferret'' in the environment.rb and run it, it stops my server from even working. also where do i enter
2007 Sep 12
1
Highlighting isue in description
I have read the highlighting section at http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#highlighting It mentions that for highlight to work I must have {:store => :yes}. However it also mentions that only "small" fields should be stored. My question is how small is small enough. I have a site where events information is maintained. I have events title and events
2008 Jan 21
1
fuzzy search question
Hi, I''ve got a question about FuzzyQueries. Say I''m doing a search for people by name, and I want to allow fuzzy results if there aren''t enough hits with a regular query. This is easy enough; just redo the search with the fuzzy query if original_results.total_hits is less than some threshold. However, I would like the exact-match results to have a higher score
2006 Jun 19
2
fuzzy search
This may be offtopic to Rails, but what are people doing to find records based on fuzzy string matches? For example, if you wanted to find a Person with name "David Heinemeier Hansson" but searched using the string "Dave Hansson". Currently I am find_by_sql that calls the PostgreSQL function "levenshtein(string1, string2)" which returns results with a score
2007 Oct 01
4
Need Help with Custom Associations
I''ve read the Rails Envy AAF tutorial at http://railsenvy.com/2007/2/19/acts-as-ferret-tutorial and its given me some really good ideas. My problem lies in having AAF search the target Model''s child tables. I have no problem at all doing something like: acts_as_ferret :fields => [:title, :update_collection, :member_name] def member_name return
2016 Mar 21
0
GSoC Proposal : Path Profiling Support
Hi I am pinging to find out if there is any interest to mentor this proposal for GSoC this year? I've submitted a draft via the GSoC website. David, Vedant it would be great if I could get some advice on refining the goals and particulars of the implementation. The version we use internally is not performance oriented and will require refactoring. Here is a link to the draft document [1].
2016 Mar 16
3
GSoC Proposal : Path Profiling Support
Hi David, > Are the data below all collected when only one function is picked for > instrumentation? Yes, here is a list of the benchmarks and selected functions. +-----------------+----------------------------------------------------------------------------------------------+ | blks | _Z19BlkSchlsEqEuroNoDivfffffif |