solr在Java上为什么能在documentList.getNumFound有结果,但是documentList里面的都是空值?

【solr在Java上为什么能在documentList.getNumFound有结果,但是documentList里面的都是空值?】

solr在Java上为什么能在documentList.getNumFound有结果,但是documentList里面的都是空值?

文章插图
为什么Java上solr可以在documentList.getNumFound()中有结果,但documentList中的值都是空?为什么Java上solr可以在documentList.getNumFound()中有结果,但documentList中的值都是空?导读:小白 , 我在测试为什么solr可以在Java上的documentList.getNumFound()中得到结果,但是documentList中的所有SolrDocument都是空值,这些值在schema.xml中是有关联的