Displaying 20 results from an estimated 10000 matches similar to: "Bug in fuzzy search"
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
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
2006 Jul 18
4
Some basic questions
Hi, David and everyone,
I''ve had Ferret running fine in a production Rails application for a
while now. I haven''t updated Ferret or really looked at the
Ferret-related code since probably January, but I recently started
thinking about trying out the latest version (we were using 0.3.2, I
think). I got the latest (0.9.4) and have noticed things break. In
particular, I used to
2006 Nov 04
0
Ferret 0.10.6 released (and some benchmarks)
Hey folks,
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby + rails -jewelry) and
phrase queries ("the quick brown fox") as well as some more
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(
[
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 Sep 09
1
MultiTerm query segfault - remote denial of service
Hi ferreteers,
I came across a segfault in the query parser. It had already been
reported[1] and fixed[2], but it can lead to a denial of service.
If you use Ferret anywhere that you allow users to execute queries,
those users can crash your Ruby process with a specially crafted
query.
I''m sure you''re all using Monit or something for your Rails or drb
processes, so
2007 Jan 28
1
test/functional/thread_safety_index_test.rb failures - segfaults too
Hi,
I just checked out ferret 0.10.14 from subversion and am getting
intermittent failures from the thread_safety_index_test.rb script.
Sometimes it runs through to the end with no errors, but other times I
get errors, including segfaults.
I reported the bug here: http://ferret.davebalmain.com/trac/ticket/153
Can anyone else reproduce this?
svn co
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 Dec 18
2
I''m back
Hey all,
I''m back. Some of you are probably thinking that is the longest weeks
vacation on record. Well, I''d like to take this opportunity to
apologise for my absence and offer a brief explanation. When I got
back to Australia I naturally went home to visit my parents, only to
find that they have been hit really hard by the drought. They didn''t
really tell me just how
2007 Jun 28
0
Warning encoding error after Ferret changesets 765-769
Hello all,
I recently upgraded from the Ferret gem 0.11.4 to the Subversion trunk,
changeset #770. I did this because I needed the large file patch from
http://ferret.davebalmain.com/trac/ticket/215
When adding documents to the index, I get the following message printed
to STDERR many times:
Warning encoding error. Please check that you are using the correct
locale for your input
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 Oct 09
1
acts_as_ferret: case insensitive search
How can I index and search RoR model objects in a case insensitive
manner? In Ferret there is the LowerCaseFilter
(http://ferret.davebalmain.com/api/classes/Ferret/Analysis/LowerCaseFilter.html).
How can I utilize it and other filters with acts_as_ferret?
--
Posted via http://www.ruby-forum.com/.
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
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
Hi Folks,
I''ve just released version 0.9.0. This latest version of Ferret is an
alpha release. I have removed the old c extension and Ferret is now
running on a fully ported C library. This has allowed some huge
performance improvements both with regard to memory and CPU usage.
There will probably be a few portability issues to start with. It has
been developed on Linux so it should
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 Jun 28
0
Is anyone using ferret on Solaris/SPARC?
Ferret throws a bus error in the unit tests under Solaris, sun4u architecture.
http://ferret.davebalmain.com/trac/ticket/272
Bug reporter appears to be on Solaris 8 with Ruby 1.8.4. I''ve tried
on Solaris 10 (first release and 10/06, first without and then with
the most recent patch set), both with Ruby 1.8.6, and get exactly the
same error in the same spot. Tried with 0.11.4 and also
2006 Sep 20
7
Updating to the bleeding edge version of Ferret
Hey guys,
It has occurred to me that a lot of people need some of the fixes I
make to Ferret ASAP and don''t like having to wait to long for the gem.
On the other hand, it is a bit of a pain to download and install from
subversion because then you need to uninstall when the next gem comes
out. So I thought I may as well put some instructions out as to how
you can build your own Ferret gem
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