incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1462128 - in /incubator/droids/branches/0.2.x-cleanup/droids-solr: ./ src/main/java/org/apache/droids/solr/ src/test/resources/example/ src/test/resources/solr/ src/test/resources/solr/collection1/ src/test/resources/solr/collection1/conf/
Date Thu, 28 Mar 2013 14:47:43 GMT
Author: tobr
Date: Thu Mar 28 14:47:43 2013
New Revision: 1462128

URL: http://svn.apache.org/r1462128
Log:
updated to solr 4.2

Added:
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
  (with props)
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
  (with props)
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
  (with props)
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
  (with props)
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml 
 (with props)
Removed:
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/example/
Modified:
    incubator/droids/branches/0.2.x-cleanup/droids-solr/pom.xml
    incubator/droids/branches/0.2.x-cleanup/droids-solr/src/main/java/org/apache/droids/solr/SolrHandlerImpl.java

Modified: incubator/droids/branches/0.2.x-cleanup/droids-solr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/pom.xml?rev=1462128&r1=1462127&r2=1462128&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/pom.xml (original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/pom.xml Thu Mar 28 14:47:43 2013
@@ -31,7 +31,7 @@
     <name>APACHE DROIDS SOLR HANDLER</name>
 
     <properties>
-        <solr.version>3.6.0</solr.version>
+        <solr.version>4.2.0</solr.version>
     </properties>
 
     <build>
@@ -41,7 +41,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <systemPropertyVariables>
-                        <solr.solr.home>${project.build.testOutputDirectory}/example</solr.solr.home>
+                        <solr.solr.home>${project.build.testOutputDirectory}/solr</solr.solr.home>
                     </systemPropertyVariables>
                 </configuration>
             </plugin>
@@ -60,9 +60,10 @@
             <version>${solr.version}</version>
         </dependency>
         <dependency>
-            <groupId>net.sourceforge.nekohtml</groupId>
-            <artifactId>nekohtml</artifactId>
-            <version>1.9.18</version>
+            <groupId>javax.servlet</groupId>
+            <artifactId>javax.servlet-api</artifactId>
+            <version>3.0.1</version>
+            <scope>provided</scope>
         </dependency>
         <!-- FOR TESTING -->
         <dependency>
@@ -75,6 +76,12 @@
             <groupId>org.apache.solr</groupId>
             <artifactId>solr-core</artifactId>
             <version>${solr.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-jdk14</artifactId>
+                </exclusion>
+            </exclusions>
             <scope>test</scope>
         </dependency>
         <dependency>

Modified: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/main/java/org/apache/droids/solr/SolrHandlerImpl.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/main/java/org/apache/droids/solr/SolrHandlerImpl.java?rev=1462128&r1=1462127&r2=1462128&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/main/java/org/apache/droids/solr/SolrHandlerImpl.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/main/java/org/apache/droids/solr/SolrHandlerImpl.java
Thu Mar 28 14:47:43 2013
@@ -40,10 +40,10 @@ public class SolrHandlerImpl extends Sol
         doc.setField("id", task.getURI().getPath());
         doc.setField("name", task.getURI().toASCIIString());
         doc.setField("content", task.getParserData().getText());
-        doc.setField("contentType", task.getContentEntity().getContentType());
-        doc.setField("taskDate", task.getTaskDate());
+        doc.setField("content_type", task.getContentEntity().getContentType());
+        doc.setField("last_modified", task.getTaskDate());
         doc.setField("depth", task.getDepth());
-        doc.setField("contentLength", task.getContentEntity().getContentLength());
+        doc.setField("content_length", task.getContentEntity().getContentLength());
         doc.setField("charset", task.getContentEntity().getCharset());
 
         ParserData parserData = task.getParserData();

Added: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml?rev=1462128&view=auto
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
(added)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
Thu Mar 28 14:47:43 2013
@@ -0,0 +1,89 @@
+<?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.
+-->
+
+<schema name="droids-test" version="1.5">
+ <fields>
+   <field name="id" type="string" indexed="true" stored="true" required="true"/>
+   <field name="name" type="string" indexed="true" stored="true"/>
+   <field name="content_type" type="string" indexed="true" stored="true"/>
+   <field name="selector" type="text_general" indexed="true" stored="true"/>
+   <field name="depth" type="int" indexed="true" stored="true"/>
+   <field name="content_length" type="long" indexed="true" stored="true"/>
+   <field name="charset" type="string" indexed="true" stored="true"/>
+   <field name="last_modified" type="date" indexed="true" stored="true"/>
+   <field name="links" type="string" indexed="true" stored="true" multiValued="true"/>
+
+   <field name="content" type="text_general" indexed="false" stored="true" multiValued="true"/>
+   <!-- catch all field -->
+   <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
+
+   <!-- Dynamic field definitions -->
+   <dynamicField name="*_i"  type="int"    indexed="true"  stored="true"/>
+   <dynamicField name="*_is" type="int"    indexed="true"  stored="true"  multiValued="true"/>
+   <dynamicField name="*_s"  type="string"  indexed="true"  stored="true" />
+   <dynamicField name="*_ss" type="string"  indexed="true"  stored="true" multiValued="true"/>
+   <dynamicField name="*_l"  type="long"   indexed="true"  stored="true"/>
+   <dynamicField name="*_ls" type="long"   indexed="true"  stored="true"  multiValued="true"/>
+   <dynamicField name="*_t"  type="text_general"    indexed="true"  stored="true"/>
+   <dynamicField name="*_txt" type="text_general"   indexed="true"  stored="true" multiValued="true"/>
+   <dynamicField name="*_b"  type="boolean" indexed="true" stored="true"/>
+   <dynamicField name="*_bs" type="boolean" indexed="true" stored="true"  multiValued="true"/>
+   <dynamicField name="*_f"  type="float"  indexed="true"  stored="true"/>
+   <dynamicField name="*_fs" type="float"  indexed="true"  stored="true"  multiValued="true"/>
+   <dynamicField name="*_d"  type="double" indexed="true"  stored="true"/>
+   <dynamicField name="*_ds" type="double" indexed="true"  stored="true"  multiValued="true"/>
+
+   <dynamicField name="*_dt"  type="date"    indexed="true"  stored="true"/>
+   <dynamicField name="*_dts" type="date"    indexed="true"  stored="true" multiValued="true"/>
+
+   <field name="_version_" type="long" indexed="true" stored="true"/>
+
+ </fields>
+
+
+ <uniqueKey>id</uniqueKey>
+
+  <types>
+    <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
+    <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
+
+    <fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
+    <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" positionIncrementGap="0"/>
+    <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/>
+    <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/>
+
+    <fieldType name="date" class="solr.TrieDateField" precisionStep="0" positionIncrementGap="0"/>
+
+    <fieldtype name="binary" class="solr.BinaryField"/>
+
+    <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
+      <analyzer type="index">
+        <tokenizer class="solr.StandardTokenizerFactory"/>
+        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"
enablePositionIncrements="true" />
+        <filter class="solr.LowerCaseFilterFactory"/>
+      </analyzer>
+      <analyzer type="query">
+        <tokenizer class="solr.StandardTokenizerFactory"/>
+        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"
enablePositionIncrements="true" />
+        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true"
expand="true"/>
+        <filter class="solr.LowerCaseFilterFactory"/>
+      </analyzer>
+    </fieldType>
+
+ </types>
+  </schema>

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/schema.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml?rev=1462128&view=auto
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
(added)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
Thu Mar 28 14:47:43 2013
@@ -0,0 +1,147 @@
+<?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.
+-->
+
+<!-- 
+     For more details about configurations options that may appear in
+     this file, see http://wiki.apache.org/solr/SolrConfigXml. 
+-->
+<config>
+  <luceneMatchVersion>LUCENE_42</luceneMatchVersion>
+
+  <dataDir>${solr.data.dir:}</dataDir>
+  <directoryFactory name="DirectoryFactory"
+                    class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>

+
+  <codecFactory class="solr.SchemaCodecFactory"/>
+
+  <indexConfig>
+    <lockType>${solr.lock.type:native}</lockType>
+  </indexConfig>
+
+  <jmx />
+
+  <!-- The default high-performance update handler -->
+  <updateHandler class="solr.DirectUpdateHandler2">
+
+    <!-- Enables a transaction log, used for real-time get, durability, and
+         and solr cloud replica recovery.  The log can grow as big as
+         uncommitted changes to the index, so use of a hard autoCommit
+         is recommended (see below).
+         "dir" - the target directory for transaction logs, defaults to the
+                solr data directory.  --> 
+    <updateLog>
+      <str name="dir">${solr.ulog.dir:}</str>
+    </updateLog>
+ 
+    <autoCommit>
+      <maxTime>15000</maxTime>
+      <openSearcher>false</openSearcher>
+    </autoCommit>
+  </updateHandler>
+
+  <query>
+    <maxBooleanClauses>1024</maxBooleanClauses>
+    <filterCache class="solr.FastLRUCache"
+                 size="512"
+                 initialSize="512"
+                 autowarmCount="0"/>
+    <queryResultCache class="solr.LRUCache"
+                     size="512"
+                     initialSize="512"
+                     autowarmCount="0"/>
+    <documentCache class="solr.LRUCache"
+                   size="512"
+                   initialSize="512"
+                   autowarmCount="0"/>
+    <enableLazyFieldLoading>true</enableLazyFieldLoading>
+    <queryResultWindowSize>20</queryResultWindowSize>
+    <queryResultMaxDocsCached>200</queryResultMaxDocsCached>
+    <listener event="newSearcher" class="solr.QuerySenderListener">
+      <arr name="queries">
+        <!--
+           <lst><str name="q">solr</str><str name="sort">price asc</str></lst>
+           <lst><str name="q">rocks</str><str name="sort">weight
asc</str></lst>
+          -->
+      </arr>
+    </listener>
+    <listener event="firstSearcher" class="solr.QuerySenderListener">
+      <arr name="queries">
+        <lst>
+          <str name="q">static firstSearcher warming in solrconfig.xml</str>
+        </lst>
+      </arr>
+    </listener>
+
+    <useColdSearcher>false</useColdSearcher>
+    <maxWarmingSearchers>2</maxWarmingSearchers>
+
+  </query>
+
+
+  <requestDispatcher handleSelect="false" >
+    <requestParsers enableRemoteStreaming="true"
+                    multipartUploadLimitInKB="2048000"
+                    formdataUploadLimitInKB="2048"/>
+
+    <httpCaching never304="true" />
+  </requestDispatcher>
+
+  <requestHandler name="/select" class="solr.SearchHandler">
+     <lst name="defaults">
+       <str name="echoParams">explicit</str>
+       <int name="rows">10</int>
+       <str name="df">text</str>
+     </lst>
+    </requestHandler>
+
+
+  <requestHandler name="/update" class="solr.UpdateRequestHandler">
+  </requestHandler>
+
+
+  <!-- Admin Handlers
+
+       Admin Handlers - This will register all the standard admin
+       RequestHandlers.  
+    -->
+  <requestHandler name="/admin/" 
+                  class="solr.admin.AdminHandlers" />
+
+  <!-- ping/healthcheck -->
+  <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
+    <lst name="invariants">
+      <str name="q">solrpingquery</str>
+    </lst>
+    <lst name="defaults">
+      <str name="echoParams">all</str>
+    </lst>
+    <!-- An optional feature of the PingRequestHandler is to configure the 
+         handler with a "healthcheckFile" which can be used to enable/disable 
+         the PingRequestHandler.
+         relative paths are resolved against the data dir 
+      -->
+    <!-- <str name="healthcheckFile">server-enabled.txt</str> -->
+  </requestHandler>
+
+
+  <!-- Legacy config for the admin interface -->
+  <admin>
+    <defaultQuery>*:*</defaultQuery>
+  </admin>
+
+</config>

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/solrconfig.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt?rev=1462128&view=auto
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
(added)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
Thu Mar 28 14:47:43 2013
@@ -0,0 +1,14 @@
+# 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.

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/stopwords.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt?rev=1462128&view=auto
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
(added)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
Thu Mar 28 14:47:43 2013
@@ -0,0 +1,29 @@
+# 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.
+
+#-----------------------------------------------------------------------
+#some test synonym mappings unlikely to appear in real input text
+aaafoo => aaabar
+bbbfoo => bbbfoo bbbbar
+cccfoo => cccbar cccbaz
+fooaaa,baraaa,bazaaa
+
+# Some synonym groups specific to this example
+GB,gib,gigabyte,gigabytes
+MB,mib,megabyte,megabytes
+Television, Televisions, TV, TVs
+#notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
+#after us won't split it into two words.
+
+# Synonym mappings can be used for spelling correction too
+pixima => pixma
+

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/collection1/conf/synonyms.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml?rev=1462128&view=auto
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml (added)
+++ incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml Thu
Mar 28 14:47:43 2013
@@ -0,0 +1,53 @@
+<?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.
+-->
+
+<!--
+   This is an example of a simple "solr.xml" file for configuring one or 
+   more Solr Cores, as well as allowing Cores to be added, removed, and 
+   reloaded via HTTP requests.
+
+   More information about options available in this configuration file, 
+   and Solr Core administration can be found online:
+   http://wiki.apache.org/solr/CoreAdmin
+-->
+
+<!--
+ All (relative) paths are relative to the Solr Home Directory
+  
+  persistent: Save changes made via the API to this file
+  sharedLib: path to a lib directory that will be shared across all cores
+-->
+<solr persistent="true">
+	<!-- by default, this is 50 @ WARN
+  <logging enabled="true">
+  	<watcher size="100" threshold="INFO" />
+  </logging>
+   -->
+
+  <!--
+  adminPath: RequestHandler path to manage cores.  
+    If 'null' (or absent), cores will not be manageable via request handler
+  defaultCoreName: (optional) core to use when no core name is specified in an access url
+    
+  All of the attributes in cores after defaultCoreName only apply when running in SolrCloud
mode.
+  You can read more about SolrCloud mode at http://wiki.apache.org/solr/SolrCloud
+  -->
+  <cores adminPath="/admin/cores" defaultCoreName="collection1">
+    <core name="collection1" instanceDir="collection1" />
+  </cores>
+</solr>

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: incubator/droids/branches/0.2.x-cleanup/droids-solr/src/test/resources/solr/solr.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message