存储的字段未检索到solrcloud

时间:2015-09-30 05:53:26

标签: solr solrcloud

我遇到了solrcloud的问题,存储的字段没有反映在我们能够获得结果的搜索中

请参阅以下示例:

http://solr:port/solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID&wt=json&indent=true
{
  "responseHeader":{
    "status":0,
    "QTime":1157,
    "params":{
      "q":"UCID:ddfdf4",
      "indent":"true",
      "fl":"UCID",
      "wt":"json"}},
  "response":{"numFound":1,"start":0,"maxScore":13.710121,"docs":[
      {
        "UCID":"ddfdf4"}]
  },

但是当我们在fl中添加TI时,没有找到文件

http://solr:port/solr/cloud1_shard1_replica1/select?q=UCID%3Addfdf4&fl=UCID,TI&wt=json&indent=true
    {
      "responseHeader":{
        "status":0,
        "QTime":1727,
        "params":{
          "q":"UCID:ddfdf4",
          "indent":"true",
          "fl":"UCID,TI",
          "wt":"json"}},
      "response":{"numFound":0,"start":0,"maxScore":13.710121,"docs":[]
      },
      "highlighting":{},
      "spellcheck":{
        "suggestions":[]}}

任何人都可以解释solrcloud的这种行为

0 个答案:

没有答案