http://localhost:8000/solr/testwork/select?q=state:'OR'&wt=json&indent=on
结果:
{
"responseHeader":{
"status":0,
"QTime":0,
"params":{
"q":"state:'OR'",
"indent":"on",
"wt":"json"}},
"response":{"numFound":0,"start":0,"numFoundExact":true,"docs":[]
}}
1条答案
按热度按时间f3temu5u1#
如果您的值与运算符相同,请在后面加上\。例如:如果您的查询是空的,请使用下面的命令。