-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
agazzarini
committed
Aug 27, 2014
1 parent
927725e
commit 17c3b89
Showing
4 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
jena-nosql-binding/jena-nosql-binding-solr/src/solr-home/plain-store/conf/schema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<schema name="jena-nosql SOLR simple binding Schema" version="1.5"> | ||
<fields> | ||
<field name="id" type="string" indexed="true" stored="true" required="true" /> | ||
<field name="s" type="string" indexed="true" stored="true" required="true" /> | ||
<field name="p" type="string" indexed="true" stored="true" required="true" /> | ||
<field name="o" type="string" indexed="true" stored="true" required="true" /> | ||
<field name="c" type="string" indexed="true" stored="true" required="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="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/> | ||
</types> | ||
</schema> |
92 changes: 92 additions & 0 deletions
92
jena-nosql-binding/jena-nosql-binding-solr/src/solr-home/plain-store/conf/solrconfig.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<config> | ||
<luceneMatchVersion>LUCENE_48</luceneMatchVersion> | ||
<dataDir>${solr.data.dir}/${solr.core.name}/data</dataDir> | ||
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}" /> | ||
<codecFactory class="solr.SchemaCodecFactory" /> | ||
<schemaFactory class="ClassicIndexSchemaFactory" /> | ||
<indexConfig> | ||
<lockType>${solr.lock.type:native}</lockType> | ||
</indexConfig> | ||
<updateHandler class="solr.DirectUpdateHandler2"> | ||
<updateLog> | ||
<str name="dir">${solr.ulog.dir:}</str> | ||
</updateLog> | ||
<autoCommit> | ||
<maxTime>15000</maxTime> | ||
<openSearcher>false</openSearcher> | ||
</autoCommit> | ||
<autoSoftCommit> | ||
<maxTime>1000</maxTime> | ||
</autoSoftCommit> | ||
</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> | ||
|
||
<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" default="true"> | ||
<lst name="defaults"> | ||
<str name="echoParams">explicit</str> | ||
<int name="rows">10</int> | ||
</lst> | ||
</requestHandler> | ||
|
||
<requestHandler name="/update" class="solr.UpdateRequestHandler"> | ||
<lst name="defaults"> | ||
<str name="update.chain">dedupe</str> | ||
</lst> | ||
</requestHandler> | ||
|
||
<requestHandler name="/analysis/field" startup="lazy" | ||
class="solr.FieldAnalysisRequestHandler" /> | ||
|
||
<requestHandler name="/analysis/document" | ||
class="solr.DocumentAnalysisRequestHandler" startup="lazy" /> | ||
|
||
<requestHandler name="/admin/" class="solr.admin.AdminHandlers" /> | ||
|
||
<requestHandler name="/admin/ping" class="solr.PingRequestHandler"> | ||
<lst name="invariants"> | ||
<str name="q">*:*</str> | ||
</lst> | ||
<lst name="defaults"> | ||
<str name="echoParams">all</str> | ||
</lst> | ||
</requestHandler> | ||
|
||
<updateRequestProcessorChain name="dedupe"> | ||
<processor class="solr.processor.SignatureUpdateProcessorFactory"> | ||
<bool name="enabled">true</bool> | ||
<str name="signatureField">id</str> | ||
<bool name="overwriteDupes">false</bool> | ||
<str name="fields">s,p,o,c</str> | ||
<str name="signatureClass">solr.processor.Lookup3Signature</str> </processor> | ||
<processor class="solr.LogUpdateProcessorFactory" /> | ||
<processor class="solr.RunUpdateProcessorFactory" /> | ||
</updateRequestProcessorChain> | ||
<admin> | ||
<defaultQuery>*:*</defaultQuery> | ||
</admin> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<solr persistent="false" sharedLib="lib"> | ||
<cores adminPath="/admin/cores"> | ||
<core name="store" instanceDir="plain-store" /> | ||
</cores> | ||
</solr> |