城市有什么区别:雅典与城市:*雅典*?在Solr Admin面板的q框中?

时间:2014-10-08 10:31:47

标签: solr

Solr Admin面板的q框中city:Athenscity:*Athens*之间的区别是什么?为什么结果取不同(星号结果数字更大)。是另一个超级集合还是完全不同的集合?

1 个答案:

答案 0 :(得分:2)

Asterisk带来了另一个的超级集合,即它将带来包含单词雅典的所有结果

for ex:city:*Athens* will bring results like heathens, preathens ,athens is good
while city:Athens will bring the results like athens is good.

使用通配符可能会导致问题,有时此链接会提供有关solr如何处理通配符的知识:http://lucidworks.com/blog/whats-with-lowercasing-wildcard-multiterm-queries-in-solr/

这是使用通配符时常见的问题之一: Solr: Using a wildcard on a string with whitespace