Solr ComplexPhraseParser查询不起作用

时间:2019-05-30 00:52:28

标签: apache solr lucene

我遇到了无法查询预期结果的问题。情况如下:

When I query:
name:"John Don Stevens"
proper results

When I query:
name:'John Don Stevens'
improper results

When I query:
{!complexphrase inOrder=true}name:”John Don Stevens”
No results

When I query:
{!complexphrase inOrder=true}name:’John Don Stevens’
Improper results

**Key:**
Proper results = results I am expecting    

Improper results = querying Highest Total Trans from other fields besides name and also querying other random fields that are not relevant

如您所见,这似乎是语法上将双引号与复杂短语查询一起使用的问题。有谁知道该怎么做?

0 个答案:

没有答案