Hi Dave, One important thing you should know here is that Nutch doesn't use the schema.xml file at all. This file is for reference only. You can modify it (according Solr documentation) in Solr side without making any changes on Nutch schema.xml. The only thing you really need to keep in mind is that all fields sent by Nutch must be configured correctly in the Solr scheme. The fields sent by Nutch depend on the plugins you have enabled.
Regards. ----- Mensaje original ----- > De: "Ryan Suarez" <ryan.sua...@sheridancollege.ca> > Para: firstname.lastname@example.org > Enviados: Miércoles, 27 de Febrero 2019 18:25:18 > Asunto: [MASSMAIL]Re: Configuring Nutch to work with Solr? > Try adding this to schema.xml: > > <fieldType name="pdates" class="solr.DatePointField" docValues="true" > multiValued="true"/> > <fieldType name="plongs" class="solr.LongPointField" docValues="true" > multiValued="true"/> > <fieldType name="pdoubles" class="solr.DoublePointField" docValues="true" > multiValued="true"/> > > On Wed, 2019-02-27 at 15:49 -0600, Dave Beckstrom wrote: > This message was sent from outside of Sheridan College. Please be careful when > opening attachments, clicking links, or responding to requests for > information. > > > > Hi Everyone, > > I'm a developer and I am installing Nutch with Solr for a client. I've > been reading everything I can get my hands on and I am just not finding the > answers to some questions. I'm really hoping you can help! > > I have Nutch 1.15 and Solr 7.3.1 installed on a Windows server. Those > appeared to be the most current compatible versions where the Nutch > binaries were available. > > The first question I have is regarding the "/conf/schema.xml" that ships > with Nutch. As I understand it, that file needs to be copied over to Solr > for use with the collection on Solr. > > Is the schema.xml file used in the creation of the new collection on solr? > In other words, does the Nutch schema.xml file need to be copied to Solr > first and then the collection created or do you first create a collection > using the default schema.xml that ships with solr and after the collection > has been created then replace schema.xml with the nutch version of > schema.xml? > > If I try and copy the nutch schema.xml over to SOLR first and then create a > collection it throws the following error: > > fieldType 'pdates' not found in the schema > > Thanks! > > Best, > > Dave > > -- > *Fig Leaf Software, Inc.* > https://www.figleaf.com/ > <https://www.figleaf.com/> > > Full-Service Solutions Integrator