Can anybody help me understand the expected format of data for creating MVA (multi-value) attributes in Sphinx?
I have a MySQL function which returns a row of comma-separated integers, collated with
GROUP_CONCAT
, as a blob. I have two further MVA attributes which collate the results of a
JOIN statement, with GROUP_CONCAT
, as a blob (as generated by ThinkingSphinx). These are all included in my sql_query
in my sphinx.conf.
I've tried running the SQL on a small result set in the console, and it works: for all the MVA columns, the results are a blob containing data such as:
2432,35345,342347,8975,453645
and so on. The two MVA attributes generated with the JOIN
/GROUP_CONCAT
combination index correctly. However, the MVA attribute generated with the MySQL function causes the
indexing to fail silently (seemingly little or no data is indexed). This is despite the query working absolutely fine in the console..
So the data format seems to be identical, but Sphinx is rejecting one of the columns. Does anybody know of any gotchas with defining MVA attributes which might help me debug this?