Hi,
   I was wondering if I can tell ts to ignore an index to search
selectively. Let me explain -

Suppose I have an Article and each article has_many :comments.
I have set up my indexes in Article like so -

define_index do
    indexes title
    indexes content
    indexes comments.title, :as => :comments_title
    indexes comments.content, :as=> :comment_content
    set_property :delta=>true
end

In my search view I have a checkbox say ignore_comments which the user
checks to search in the article only and not the comments. Is there
any way of accomplishing this?

Also in the same scenario ... how could I possibly set up delta
indexes for new comments when my indexes are in the articles model?

I realize these are pretty basic questions that I really should be
able to figure out intuitively ... but I'm just not able to wrap my
head around it. If someone can just point me into the right direction
that would be great! Thanks a lot.
Aninda.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to