开发者

Apache Solr multiple phrase queries with OR

I am using Apache Solr 1.4 with dismax, and I am trying to execute a search for the开发者_如何学Python following two phrases:

"call number" "dewey decimal"

I want to match documents that contain either of those phrases. I get matches if I search for those phrases separately, but not together.

I tried queries like:

title:("call number" OR "dewey decimal")

title:["call number" TO "dewey decimal"]

Any ideas?


Did you also test the following query ?

(title:"call number" OR title:"dewey decimal")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜