[英]Solr: undefined field text
When running latest (05/2012) Solr based n Nutch, folowing the official tutorial by Apache, I get: 当运行最新的(05/2012)基于Solr的n Nutch时,遵循Apache的官方教程,我得到:
HTTP ERROR 400
Problem accessing /solr/select. Reason:
undefined field text
Turns out, I used the wrong search syntax. 原来,我使用了错误的搜索语法。 You have to use 你必须用
*:*
or 要么
xmlfield:searchtext
It's also a good idea to get familiar with the schema.xml document. 熟悉schema.xml文档也是一个好主意。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.