rubyonrailsin

A Ruby and Rails talk

Thursday, March 25, 2010


[Rails] Re: Trying to use sphinx search engine

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Sumeet Panchal wrote:
> Hi,
>
> All any kind of help is appreciated. and thanks a lot.
>
> I have to apply sphinx search on my project.
> My development environment is windows, My SQL, Ruby Rails but the
> project is deployed on Ubuntu.
>
> Q1 ) Can I use sphinx. Will it be a problem if the development is on
> windows and deployment is on Ubuntu.
>
> Q2) Also I want to use sphinx search to fetch records, and the result
> should only have certain columns which I want to
> Q3) fetch for example. I have an object Note(id, name, text, date) and
> I want to grab only name and text.
>
> Q4) Can I use thinking sphinx?
> Q5) I am not using apache will it be a problem?
>
> Thanks
> Sumeet

1. Although you should be able to get it running in both environments I
would suggest that you keep both the development and production
environments as close as possible. There are lots of little differences
between the operating systems and you will spend time cleaning up bugs
that you wouldn't run into otherwise. I have been playing with Virtual
Box quite a bit recently both at work and at home and it works great as
a development environment.

2. The "result" will be the record and you can display it any way you
want in your view. If you only want to display name and text then
create your form with just those fields. Be aware that you define what
gets indexed so if your question was whether you could limit your
searches to specific fields, the answer is still yes. You just only
index the fields you want to be searchable.

4. Not sure what the question here is but yes, you should be able to
use it.

5. Apache just provides a conduit to your application server and serves
up static content. It makes no difference whether you are using Apache
or another server.
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive