5
我試圖用fq
來篩選具有特殊字符的字段,尤其是括號。例如,鑑於文件:Solr過濾器中的特殊字符fq
<result name="response" numFound="1" start="0">
<doc>
<arr name="town_snc">
<str>Hartford (Connecticut)</str>
</arr>
</doc>
</result>
我想要做的例如?fq:town_snc=Hartford (Connecticut)
我沒有得到任何結果;我認爲括號需要逃脫,但我無法找到逃避方法。
謝謝!