会sphinx的大神请进来指导一下
代码:
SphinxClient cl = new SphinxClient();
cl.SetServer ( "localhost",9312 );
cl.SetMatchMode ( SphinxClient.SPH_MATCH_ANY );
cl.SetLimits ( 0, 20 );
SphinxResult res = cl.Query(" 163 ", "*");
结果:
res.total :1000
res.totalFound :6523
res.time : 0.011
res.words[0].word : 163
res.words[0].docs :6523
res.matches[i].docId :有值
res.matches[i].weight :有值
问题:
res.attrNames : null
res.attrTypes : null
请问res 的 attrTypes、attrNames 属性为什么是null