开发者

Url Encoding problem in Java and Solr

I am working in Solr and making some filter quires. One of my filter is consists of a space for eg:- "fq=listing_type:New home" But this is giving error. No result is comming out.

I also tried "fq=Listing_type:New+home" This was not giving error. But no results are comming out. Event there 开发者_如何学Pythonis some xml which have thse values.

Can anyone tell me where is my error?

Here you see the schema.xml


Have you tried with fq=listing_type:"New home" ??? Why dont you index this field as "NewHome" ?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜