Warm tip: This article is reproduced from serverfault.com, please click

Configuration of schema.xml for nutch and solr

发布于 2020-11-29 16:58:16

I have a question in connection with the configuration of nutch and solr. Do I have to name the _default directory in solr, nutch and do I have to mark the head of the schema.xml file as nutch or can I give any name for it?

Thanks in advance

Questioner
ayhan
Viewed
0
Jorge Luis 2020-11-30 20:20:34

Nutch itself doesn't use the schema.xml file, it is provided as a base schema.xml to use in Solr (or as an example detailing which fields need to be added to your own schema). The name property of the schema.xml doesn't have to be nutch it is provided just as an indication that the configuration is related to the operation of Nutch. Keep in mind that this file is only relevant to Solr's configuration.