search for: fuzzyqueri

Displaying 11 results from an estimated 11 matches for "fuzzyqueri".

Did you mean: fuzzyquery
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
2006 Jul 10
3
Plurals and synonym lists
I want to correct spelling errors automatically. I have used search in the past where I can pass an argument through standard search to correct a word with up to 2 spelling errors for example or do the more Google like "Did ya mean?". In this case I just want to change it automatically and search. I am not too interested in specifying the number of characters it is out by. What is
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 lik...
2006 Nov 25
5
Metaphone analysis
Not sure how much this will interest people but I don''t have a blog so I''m posting something I threw together today cause I think it might be useful. In what little free time I have I''ve been wanting to put together a Rails/Ferret based restful dictionary. So I finally got a chance to get started today so the first thing I wanted to do was implement a metaphone
2006 Jul 14
3
Whitespace Issues
I am trying to build up a filtered search using the logic below. bq = Ferret::Search::BooleanQuery.new bq.add_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)), Ferret::Search::BooleanClause::Occur::MUST) filter = Ferret::Search::QueryFilter.new(bq) @vobjects = VoObject.find_by_contents(search_input,:filter => filter, :sort
2006 Jul 24
0
error searching for a boolean query
Hey .. i''m not sure if the trac is currently maintained, so i''ll post this here as well, just to make sure :) http://ferret.davebalmain.com/trac/ticket/94 i get a segfault on certain queries.. i guess thats a problem with the query parser.. >> Indexer.index.search( "american~0.6 AND NOT type:Language" ) *** glibc detected *** double free or corruption
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
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 Jan 21
2
A few questions: Tweaking StemFilter, indexes, ...
Hello all, I am new to the list, but I have been using ferret for a little bit already. I would first like to thank Dave for all his work on ferret. I had a few questions that I haven''t been able to figure out after messing around with ferret and going through the documentation. StemFilter ------ I am trying to improve the quality of my searches in context of the content of my
2006 Sep 20
3
Range searches some times they work, some times not...
Hi i''m using ferret to enable geographical postcode. I take a postcode and distance in miles from the user, strip off the outcode and then retrieve the associated x y coordinates in metres from the db. Then i get two temp x''s and y''s and search for all results that are within the box, see code below. Problems start to occur when i search on big distances so for
2006 Aug 28
12
Help with Multiple Readers, 1 Writer scenario
Hi, I''m building a web server application using Ferret [thanks so much Dave], Mongrel and Camping which works fine servicing one request at a time, but serialises searches if more than one request arrives, so I''d like some advice please about the best way to use multiple readers and one writer. Some background ... query requests which in my case are always read only, arrive via