Hello everyone,

First of all, thanks to everyone who contributed to this fantastic
plugin ! I really love it, it's so great for full text searches !

I have just a question. I use STI models :

class Item
end

class Article < Item
end

And I want to just different define_index parameters for Article and
Item, so that I can query Item and Article differently.

I would like to do :
class Article < Item
  define_index do
    indexes title
  end
end

and

Class Item
  define_index do
    indexes title
    indexes description
  end
end

And then use Article.search and Item.search

But I have the following error :

ERROR: section 'item_0_core' (type='source') already exists in /Users/
pierre/rails/site/config/development.sphinx.conf line 114 col 1.
FATAL: failed to parse config file '/Users/pierre/rails/site/config/
development.sphinx.conf'.

Is there any way to find a solution ?

Thank you very much in advance,

Pierre

--~--~---------~--~----~------------~-------~--~----~
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