我在我的 xml Schema 中有一个这样的节点:
<str name="name">Samsung galaxy S4</str>
我希望 Solr 在我仅搜索“三星银河”时给出结果
如何编写查询以使用空格进行搜索?
更新:这是我的节点的例子:
<doc>
<str name="id">16_1</str>
<str name="product_id">16</str>
<str name="store_id">1</str>
<str name="name">Samsung galaxy S4</str>
<str name="short_description">The words "entry level" no longer mean "low-end," especially when it comes to the Nokia 2610. Offering advanced media and calling features without breaking the bank</str>
<str name="sku">n2610</str>
<str name="manufacturer">Nein</str>
<long name="_version_">1438897917491412992</long></doc>
<doc>
感谢帮助。