[ https://issues.apache.org/jira/browse/NUTCH-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154578#comment-16154578 ]
ASF GitHub Bot commented on NUTCH-1480: --------------------------------------- jorgelbg commented on a change in pull request #218: fix for NUTCH-1480 contributed by r0ann3l URL: https://github.com/apache/nutch/pull/218#discussion_r137142167 ########## File path: conf/index-writers.xsd ########## @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://lucene.apache.org/nutch" + xmlns="http://lucene.apache.org/nutch" + elementFormDefault="qualified"> + <xs:element name="writers"> + <xs:annotation> + <xs:documentation> + Root tag of index-writers.xml document. It's a wrapper for the all index writers. + </xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="writer" type="writerType" maxOccurs="unbounded" minOccurs="1"> + <xs:annotation> + <xs:documentation> + Contains the all configuration of a particular index writer. Review comment: typo? Also it would be a good idea to have empty lines at the end of this file and the `conf/index-writers.xml.template` for git/diff compatiblity. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > SolrIndexer to write to multiple servers. > ----------------------------------------- > > Key: NUTCH-1480 > URL: https://issues.apache.org/jira/browse/NUTCH-1480 > Project: Nutch > Issue Type: Improvement > Components: indexer > Reporter: Markus Jelsma > Assignee: Markus Jelsma > Priority: Minor > Attachments: adding-support-for-sharding-indexer-for-solr.patch, > NUTCH-1480-1.6.1.patch > > > SolrUtils should return an array of SolrServers and read the SolrUrl as a > comma delimited list of URL's using Configuration.getString(). SolrWriter > should be able to handle this list of SolrServers. > This is useful if you want to send documents to multiple servers if no > replication is available or if you want to send documents to multiple NOCs. > edit: > This does not replace NUTCH-1377 but complements it. With NUTCH-1377 this > issue allows you to index to multiple SolrCloud clusters at the same time. -- This message was sent by Atlassian JIRA (v6.4.14#64029)