Sol4のオートコンプリート機能に取り組んでいますが、フィルタークエリでtermfreqを使用できるかどうか疑問に思っています。私のクエリは次のようになります。
http://example.com/autocomplete/?q=ful&start=0&rows=5&&fl=Location,freq:termfreq(textng,'ful')
そして戻ります:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
</lst>
<result name="response" numFound="18" start="0">
<doc>
<str name="Location">Fullerton, CA</str>
<int name="freq">1</int>
</doc>
<doc>
<str name="Location">Fulton, NY</str>
<int name="freq">1</int>
</doc>
<doc>
<str name="Location">Fultondale, AL</str>
<int name="freq">1</int>
</doc>
<doc>
<str name="Location">Cal State University Fullerton</str>
<int name="freq">1</int>
</doc>
<doc>
<str name="Location">Full Sail Real World Education</str>
<int name="freq">1</int>
</doc>
</result>
</response>
のようなことができるようになりたいですfq:termfreq(textng,'ful'):1
。
これが可能かどうか誰かが知っていますか?