I’m at a point where I’d like to start adding search capability to my
app, so I thought I’d ask:
Anyone have any recommendations for a good Rails search
library/plugin/etc? There seem to be quite a few different ones out
there, but I don’t have much context on any of them.
What is the difference between using Ferret, or a SearchGenerator,
SimpleSearch, etc?
im not sure what my application needs. basically all of my data, so
called food recipes, are going to be stored in a table. if a user types
in “bbq ribs” in the search box that is specified to search for title
field in the recipe table, will it match titles that are named “island
bbq style ribs”, “grilled ribs”, or does the search engines need exact
title match to return a query? does the search engine return the titles
that match both words first? etc…
maybe i should go with ferret since its most widely use?
When I was working on www.chinadialogue.net , I first started using
Ferret, but found that I was having difficulities indexing the content.
So I tried using HyperEstaier, and it just seemed to make the index.
Looking back, it might not have anything to do with utf-8, just my lack
of knowledge.
When I was working on www.chinadialogue.net , I first started using
Ferret, but found that I was having difficulities indexing the content.
So I tried using HyperEstaier, and it just seemed to make the index.
Looking back, it might not have anything to do with utf-8, just my lack
of knowledge.
Maybe not. Ferret has come a long way in the last few months. UTF-8
data should be fine. The only problem you might run into now is if you
use mixed data encodings like UTF-8 and ISO-8859-1 together but I
imagine this wouldn’t be good in HyperEstraier either. Maybe I’m wrong
and it does detecting the data encoding somehow.
Cheers,
Dave
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.