Would there be an issue with having an index and attribute with the same name, 
in this case 'name' ?

/Cody

On Oct 22, 2011, at 11:21 AM, 4nkh wrote:

> It append when It search on objet in relationship with another...I
> will try to provide a stack trace
> 
> defined_index do
>  index :name
>  index [:city, :country], :as => :location
> 
>  has: name
>  has :created_at
>  set_property :delta => :delayed
>  set_property :weight_fields => {
>    :name => 10,
>    :created_at => 7
>  }
>  set_property :order => 'created_at'
> end
> 
> 
> 
> ThinkingSphinx.search(@q,
> :classes =>
> [[User, Profile, Music], 'detail' {
> ....
> }
> ].flatten,
> ...)
> 
> I also use CRC32, RADIANT option to index but I think it's more about
> the relationship between objects
> 
> On Oct 22, 2:47 am, Pat Allan <[email protected]> wrote:
>> Can you provide the stack trace of the error? And what causes it to happen? 
>> Indexing? Searching? Everything?
>> 
>> --
>> Pat
>> 
>> On 20/10/2011, at 9:57 PM, 4nkh wrote:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> I have to comment all the define_index block in my models with
>>> thinking sphinx 2.0.9
>> 
>>> Someone know how I can fix that
>> 
>>> --
>>> 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 
>>> athttp://groups.google.com/group/thinking-sphinx?hl=en.
> 
> -- 
> 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.
> 

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