Hi

I'm still trying to add a type multi attribute as a facet with a
subselect query.

When i add an attribute with a custom subselect with :type => :multi
and :facet => true then the attribute appears twice in the config and
"_facet" is appended to attribute name.

So after:
has '(select (group_concat ...) from ... where ...)', :as =>
'helloworld', :type => :multi, :facet => true

I have twice the attr config:

sql_attr_multi = uint helloworld_facet from field
sql_attr_multi = uint helloworld_facet from field

and the helloworld_facet appears twice in the sql_query, once with
IFNULL and once with CRC32

Running ts:in works nut yields following warning:
WARNING: attribute 'helloworld_facet' not found - IGNORING


Why is "_facet" appended to the name?
Why is attribute config doubled?



Thanks for your help.

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