1

I want to make a query like this:

q=field:(fu* bar*)

for this I am sending this to Solr

q=field:(fu*%20bar*)

When I look into solr.log I see that Solr executed the following:

q=field:(fu*+bar*)

Which definitely does not lead to to the expected result. Is this normal and what can I do againt the "space-to-plus-exchange"?

Thanks for any help!

4

1 回答 1

1

尝试这个:

q=field:(fu*+bar*)

在 url 编码中,空格是 +

于 2013-07-20T18:59:51.287 回答