Lets say I do not want to get the VPS or Dedicated Server required to run constant indexing like with Thinking_Sphinx plugin or many of the other full text search plugins for ruby on rails.
I have a bunch of listings in the database with a Name field and category field (among other things).
It it possible search for a name in a certain category without having a fulltext search plugin that requires constant indexing? and how would I go about doing this?
Thank you. I hope I have been clear enough.
If you just want to search a specific column (or two), you could certainly take advantage of the
LIKESQL operator.For example, using a
named_scopein railsThen, in your controllers, you could do something like
There are a few drawbacks to this approach:
Hopefully that helps. If I misunderstood the question, let me know.