By following these instruction about autocompletion. I create an Index named suggestions. But when I perform a query it returns blank xml nodes or returns this xml code
<response><header><status>0</status><query>expression:php</query></header><result name="response" numFound="108" collapsedDocCount="0" start="0" rows="10" maxScore="NaN" time="1"><doc score="NaN" pos="0">
</doc><doc score="NaN" pos="1">
</doc><doc score="NaN" pos="2">
</doc><doc score="NaN" pos="3">
</doc><doc score="NaN" pos="4">
</doc><doc score="NaN" pos="5">
</doc><doc score="NaN" pos="6">
</doc><doc score="NaN" pos="7">
</doc><doc score="NaN" pos="8">
</doc><doc score="NaN" pos="9">
</doc></result></response>
Please help me, How i can retrieve expression field?
Edit the query, go to the returned field tab panel, and add the "expression" field. The NaN score is a normal behavior when the result is sorted by a field (freq).
I also added more details related to the field setup in the initial instructions.