未找到sphinx的警告属性

未找到sphinx的警告属性,sphinx,Sphinx,我尝试在sphinx中搜索程序结果,我有以下来源: source src_tax_autocomplete_developer : base { sql_query = CALL taxonomy_autocomplete('developer'); sql_attr_uint = uid; sql_attr_uint = tid; sql_field_string = name; } 这个指数是: index idx_tax_autocompl

我尝试在sphinx中搜索程序结果,我有以下来源:

    source src_tax_autocomplete_developer : base
{


    sql_query = CALL taxonomy_autocomplete('developer');

    sql_attr_uint = uid;
    sql_attr_uint = tid;
    sql_field_string = name;

}
这个指数是:

index idx_tax_autocomplete_developer
{
    # Which source to use
    source = src_tax_autocomplete_designer

    # Path where to store the index data
    path = /usr/local/sphinx/var/data/tax_autocomplete_developer
    docinfo = extern

    # Charset of the data
    charset_type = utf-8

    enable_star = 1
    min_prefix_len = 3

    # Minimum lenght of a word to be indexed.
    min_word_len = 3

    charset_table = U+FF10..U+FF19->0..9, U+FF21..U+FF3A->a..z, U+FF41..U+FF5A->a..z, 0..9, A..Z->a..z, a..z, ., +
}
我的程序是:

delimiter $$
create procedure taxonomy_autocomplete(role varchar(20))
begin
set @n=0;
set @role=role;
set @users=concat(concat(concat(concat('select @n := @n+1 as id,uid,0 as tid,`name` from users
left join field_data_field_user_','',@role),'',' on entity_id = uid
where field_user_'),'',@role),'','_tid is null ;');
set @taxonomy=concat('SELECT @n := @n + 1 as id,0 as uid ,tid,`name` FROM taxonomy_term_data where vid=(select vid from taxonomy_vocabulary where `name`=?)
union all ','', @users);
set @roles=concat(@role,'','s');
prepare stmt from @taxonomy;
execute stmt using @roles;
DEALLOCATE PREPARE stmt;
end $$
当运行狮身人面像时,我认为:

WARNING: attribute 'uid;' not found - IGNORING
WARNING: attribute 'tid;' not found - IGNORING
WARNING: attribute 'name;' not found - IGNORING
WARNING: Attribute count is 0: switching to none docinfo

我无法搜索name,我应该怎么做,我尝试搜索,但找不到任何帮助我的东西

在mysql客户端中运行CALL命令时会发生什么?输出有哪些列?精确给出:索引索引“idx\u tax\u autocomplete\u developer”。。。警告:属性“uid;”未找到-忽略警告:属性“tid;”找不到-忽略警告:属性“name;”找不到-忽略警告:属性计数为0:切换到无文档信息收集22415个文档,0.3 MB排序0.3 Mhits,100.0%完成22415个文档,325261个字节总计0.357秒,910111个字节/秒,62719.30个文档/秒,列为:id(这是uniq)、uid、tid和nameno。我的意思是直接运行sql命令,使用命令行客户端,甚至是phpmyadmin。查看结果表包含哪些列。ie将索引器从公式中删除。是的,此列已从过程返回表。