He all,
who can recommend me search engine(search for different models) for my
web-site?
ps: i know about ferret for example, but maybe there are some others?
Thank you
He all,
who can recommend me search engine(search for different models) for my
web-site?
ps: i know about ferret for example, but maybe there are some others?
Thank you
who can recommend me search engine(search for different models) for my
web-site?ps: i know about ferret for example, but maybe there are some others?
There’s also solr or solar or something along those lines
I recently setup ferret and it’s worked great.
-philip
Igor K. wrote:
ps: i know about ferret for example, but maybe there are some others?
I’ve had trouble with ferret and mongrel in the past, lots of
segmentation faults knocking over mongrel. It’s fine if you are using
another server though. See here:
http://ferret.davebalmain.com/trac/ticket/192
I’m currently working on a no-config, no-dependencies indexed search
plugin for rails. Hoping to do an 1.0 release in the next few days.
Cheers.
Douglas F Shearer
[email protected]
I have used ferret for sometime now. It does need reindexing and if u
have a ferret server running it can save you those mongrel stalling
errors…
But its not that bad …so answering your question
recomendation :ferret
On Aug 30, 4:23 am, “Igor K.” [email protected]
The three most popular ones are:
ferret (port of lucene)
solr (really is lucene)
sphinx
For sphinx, you’ll want to look at http://seattlerb.org/Sphincter
which is the “Sphincter” plugin. Don’t ask me, I didn’t name it :).
Here’s an article on the acts_as_ferret plugin: http://
www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial
Here’s the acts_as_ferret Trac page: http://projects.jkraemer.net/
acts_as_ferret/wiki
For solr, check out acts_as_solr: http://acts-as-solr.rubyforge.org/
Each has its strengths and weaknesses. YMMV.
Good luck!
Pratik Naik wrote:
Wait wait guys, you’re forgetting ngnix of searching !
http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html
I need a search engine that support searching by part of word,
for example a have a model Person:
name = Joahn, age = 5
name = Joan, age = 7
name = Firk, age = 8
name = Kaka, age = 2
and for example i need to search all persons that name start’s with
“Joa”
like make a dir command Joa*
and return 2 models with names Joahn and Joan
Thank you all for your reply
Wait wait guys, you’re forgetting ngnix of searching !
http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html
On 8/30/07, Jet [email protected] wrote:
–
Cheers!
On Aug 31, 2007, at 5:48 PM, Igor K. wrote:
like make a dir command Joa*
and return 2 models with names Joahn and Joan
Thank you all for your reply
Nobody knows?
Posted via http://www.ruby-forum.com/.
No, it’s that everyone who’s taken the time to read the documentation
for ActiveRecord::Base or worked through any of examples in the many
Rails books already knows.
Here’s a freebie:
Person.find(:all, :conditions => [ ‘name LIKE ?’, ‘Joa%’ ])
Now please read the documentation.
-Rob
No, it’s that everyone who’s taken the time to read the documentation
for ActiveRecord::Base or worked through any of examples in the many
Rails books already knows.Here’s a freebie:
Person.find(:all, :conditions => [ ‘name LIKE ?’, ‘Joa%’ ])
Now please read the documentation.
I know this!
But id does not work with UTF8! For example with russian lanquage. With
english it’s perfect!
I need a search engine that support searching by part of word,
for example a have a model Person:
name = Joahn, age = 5
name = Joan, age = 7
name = Firk, age = 8
name = Kaka, age = 2and for example i need to search all persons that name start’s with
“Joa”like make a dir command Joa*
and return 2 models with names Joahn and Joan
Thank you all for your reply
Nobody knows?
SQL does not support character expansion on LIKE queries so f.e.
“WHERE name LIKE oev%” will not match on “OEuvre” while “WHERE name =
oeuvre” will. This is normal SQL behavior. Otherwise it shouldn’t
matter what encoding you use and indeed “WHERE name LIKE '%t%” should
also match on “Å£” (with character set utf8 at least).
Rein
Rein H. wrote:
SQL does not support character expansion on LIKE queries so f.e.
“WHERE name LIKE oev%” will not match on “OEuvre” while “WHERE name =
oeuvre” will. This is normal SQL behavior. Otherwise it shouldn’t
matter what encoding you use and indeed “WHERE name LIKE '%t%” should
also match on “Å£” (with character set utf8 at least).Rein
But it doesnt match upper and downcase symbols.
My problem is that i need a solution for searching - search engine.
i will have up to 10000(i think maximum) records in database.
I choose 2 candidates for this role:
First one can’t work with UTF-8, i can’t normally configure it, if
somebody have time please check attachment.
with second - i did it, i can use acts_as_fulltext_indexed for searching
objects ignore case, but in forums i read that its slow for large amount
records.
i don’t know what to choose, i still believe that ferret will work with
UTF8(i need russian language support)
Thanks
Great Post.I like the link.Now expecting some good ideas from your
upcoming post
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs