Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB2C7DD15 for ; Thu, 8 Nov 2012 09:29:09 +0000 (UTC) Received: (qmail 75739 invoked by uid 500); 8 Nov 2012 09:29:09 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 75502 invoked by uid 500); 8 Nov 2012 09:29:03 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 75454 invoked by uid 99); 8 Nov 2012 09:29:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 09:29:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 09:29:01 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id EC935A16; Thu, 8 Nov 2012 09:28:40 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 08 Nov 2012 09:28:40 -0000 Message-ID: <20121108092840.35216.96831@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Trivial_Update_of_=22SolrConfigXml=22_by_Dmitry?= =?utf-8?q?Kan?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SolrConfigXml" page has been changed by DmitryKan: http://wiki.apache.org/solr/SolrConfigXml?action=3Ddiff&rev1=3D57&rev2=3D58 Comment: fixed the shardHandlerFactory xml closing tag {{{ /var/data/solr }}} - = NOTE: begining with [[Solr4.0]] attempting to change the {{{= }}} and then RELOAD the core will not work because it is a [[CoreAdmin#Live= Reload|Live Reload]]. = =3D=3D codecFactory =3D=3D - = - [[Solr4.0]] - Codec factories allow your schema to use custom codecs. For example, if y= ou want to define per-field postings formats, you can use the built-in Sche= maCodecFactory: + [[Solr4.0]] Codec factories allow your schema to use custom codecs. F= or example, if you want to define per-field postings formats, you can use t= he built-in SchemaCodecFactory: + = {{{ }}} - = Please note that there are some limitations and core reloading might not = work as expected when custom codec factories are defined ([[https://issues.= apache.org/jira/browse/SOLR-3610|SOLR-3610]]). For detailed instructions o= n how to configure SimpleTextCodec, see: [[http://wiki.apache.org/solr/Simp= leTextCodecExample|SimpleTextCodec Example]] = =3D=3D indexConfig Section =3D=3D - [[Solr3.6]] - These settings control low-level behavior of indexing. Please see comment= s in the example solrconfig.xml for details. + [[Solr3.6]] These settings control low-level behavior of indexing. Pl= ease see comments in the example solrconfig.xml for details. = NOTE: begining with [[Solr4.0]] attempting to change Index Writer rel= ated settings in {{{}}} and then RELOAD the core will not work= because it is a [[CoreAdmin#LiveReload|Live Reload]]. = @@ -61, +57 @@ = ... }}} - = [[Solr4.0]] = {{{ ... - = + - 1000 = + 1000 = = - = + - 1000 = + 1000 = ... }}} - = - = =3D=3D=3D "Update" Related Event Listeners =3D=3D=3D Within the Update Handler Section, you can define listeners for particula= r "update" related events: "postCommit" and "postOptimize". Listeners can = be used to fire-off any special code; they are typically used to exec snaps= hooter. = @@ -346, +339 @@ }}} - = =3D=3D=3D Configuration of Shard Handlers for Distributed searches =3D=3D= =3D Inside requestHandlers it is possible to configure and specify the shard = handler used for distributed search, it is possible to plug in custom shard= handlers as well as configure the provided solr version. = @@ -358, +350 @@ 1000 5000 - + }}} - = The parameters that can be specified are as follows: + = * socketTimeout. default: 0 (use OS default) - The amount of time in ms = that a socket is allowed to wait for * connTimeout. default: 0 (use OS default) - The amount of time in ms th= at is accepted for binding / connection a socket * maxConnectionsPerHost. default: 20 - The maximum number of connections= that is made to each individual shard in a distributed search @@ -508, +500 @@ = This might be useful in cases where there are a number of settings that o= nly differ if the server is a master or a slave. These settings could be f= actored out into two separate files and then included as needed to avoid du= plication of common portions of solrconfig.xml = - The following sample attempts to include solrconfig_master.xml. If it do= esn't exist or can't be loaded, then solrconfig_slave.xml will be used inst= ead. If solrconfig_slave.xml can't be loaded an XML parsing exception will= result. = + The following sample attempts to include solrconfig_master.xml. If it do= esn't exist or can't be loaded, then solrconfig_slave.xml will be used inst= ead. If solrconfig_slave.xml can't be loaded an XML parsing exception will= result. = {{{