开发者

Localsolr wt=json and fl compatible?

开发者 https://www.devze.com 2022-12-16 08:12 出处:网络
We\'ve got Localsolr (2.9.1 lucene-spatial library) running on Solr 1.4 with Tomcat 1.6.Everything\'s looking good, except for a couple little issues.

We've got Localsolr (2.9.1 lucene-spatial library) running on Solr 1.4 with Tomcat 1.6. Everything's looking good, except for a couple little issues.

If we specify fl=id (or fl= anything) and wt=json it seems that the fl parameter is ignored (thus we get a lot more detail in our results than we'd like).

If we specify fl=id and leave out wt=json (which defaults to returning xml results), we get the expected fields back. We'd really prefer to use wt=json because the results are easier for us to deal with (also, the same issue also arises with wt=python and wt=ruby).

Ideas? Known issue? Workarounds?开发者_开发百科

0

精彩评论

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