Good to hear you got it sorted :)

--  
Pat

On 19/04/2009, at 3:24 PM, anrake wrote:

>
> nevermind.  After I rewrote the define index as below it worked fine.
>
>  define_index do
>    indexes :tag_group, :facet => true
>    indexes :tag_name, :facet => true
>    indexes :sub_tag, :facet => true
>  end
>
>
> On Apr 18, 11:18 pm, anrake <[email protected]> wrote:
>> Actually the model syntax pasted above is this:
>>
>>   define_index do
>>     indexes :tag_group, as => :group
>>     indexes :tag_name, as => :tag
>>     indexes :sub_tag, as => :subtag
>>     facet tag_group, tag_name, sub_tag
>>   end
>>
>> I also discovered that the problem has something to do with facets
>> When I drop the "sub_tag" item from the "facet" declaration it seems
>> to work (no errors in indexing or ts:start), but the results are very
>> weird.  They don't match with what the results should be.
>>
>> So, any ideas?
> >


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