diff --git a/solr-conf/schema.xml b/solr-conf/schema.xml index 8192fd0..d9345b9 100644 --- a/solr-conf/schema.xml +++ b/solr-conf/schema.xml @@ -10,16 +10,26 @@ http://wiki.apache.org/solr/SchemaXml --> - - + - + - + @@ -55,10 +65,10 @@ --> - - - - + + + + - - - - + + + + - - - - + + + + - - + - + - + - + + + + + + + + + + + + @@ -223,7 +251,7 @@ - + + + + + + + + + - + - - + + + + + + - + + + + @@ -337,7 +411,20 @@ See http://wiki.apache.org/solr/SpatialSearch --> - + + + + + + + @@ -346,21 +433,41 @@ - - + Norms are omitted for primitive (non-analyzed) types by default. + termVectors: [false] set to true to store the term vector for a + given field. + When using MoreLikeThis, fields used for similarity should be + stored for best performance. + termPositions: Store position information with the term vector. + This will increase storage costs. + termOffsets: Store offset information with the term vector. This + will increase storage costs. + required: The field is required. It will throw an error if the + value does not exist + default: a value that should be used if no value is specified + when adding a document. + --> + + @@ -512,7 +622,7 @@ - @@ -520,16 +630,25 @@ + + + + + + + + - + + @@ -551,10 +670,32 @@ --> id - - content + + - - + + + diff --git a/solr-conf/schema_extra_fields.xml b/solr-conf/schema_extra_fields.xml index 9ecd5f4..02b3655 100644 --- a/solr-conf/schema_extra_fields.xml +++ b/solr-conf/schema_extra_fields.xml @@ -1,9 +1,9 @@ - + - ${solr.luceneMatchVersion:LUCENE_40} + ${solr.luceneMatchVersion:6.0.0} - - @@ -108,49 +113,96 @@ replication is in use, this should match the replication configuration. --> - - + ${solr.data.dir:} + class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/> + + + - - + When ManagedIndexSchemaFactory is specified, Solr will load the schema from + the resource named in 'managedSchemaResourceName', rather than from schema.xml. + Note that the managed schema resource CANNOT be named schema.xml. If the managed + schema does not exist, Solr will create it after reading schema.xml, then rename + 'schema.xml' to 'schema.xml.bak'. - false + Do NOT hand edit the managed schema - external modifications will be ignored and + overwritten as a result of schema modification REST API calls. - 4 - - 32 - + + + + + + + + + + + + + + + + The default is 100 MB. --> + 32 - 2147483647 - 100000 - 1000 - + + 4 + - single + ${solr.lock.type:native} - false + - false + true @@ -370,7 +432,6 @@ removed from future releases if the problems cannot be resolved. - ** Features that may not work with custom IndexReaderFactory ** The ReplicationHandler assumes a disk-resident index. Using a @@ -384,17 +445,10 @@ Some Value --> - - - + 1024 + + -1 - + multipartUploadLimitInKB="2048000" + formdataUploadLimitInKB="2048" + addHttpRequestToContext="false"/> - + @@ -785,6 +859,33 @@ --> + + + + explicit + json + true + text + + + + + + + + {!xport} + xsort + false + + + + query + + + - + content 1 1 3 @@ -901,40 +1008,50 @@ - - explicit - true - + + content + explicit + true + - - - - - - - + + + + text + + + + + + + _src_ + + true + + + - + - - - + + + + @@ -1093,7 +1223,7 @@ In the example below, remove the section if this is just a slave and remove the section if this is just a master. - --> + --> ${solr.replication.master:false} @@ -1178,15 +1308,55 @@ --> + + default + wordbreak false false 1 + 5 + 5 + true + true + 10 + 5 spellcheck + + + + mySuggester + FuzzyLookupFactory + DocumentDictionaryFactory + cat + price + string + + + + + + true + 10 + + + suggest + + + - + true @@ -1337,7 +1507,6 @@ - - - - - + - - default - spell - spellchecker - true - - + http://wiki.apache.org/solr/SpellCheckComponent + --> + + + textSpell + + + + default + spell + spellchecker + true + + diff --git a/solr-conf/solrcore.properties b/solr-conf/solrcore.properties index b7f8f6c..94b2d47 100644 --- a/solr-conf/solrcore.properties +++ b/solr-conf/solrcore.properties @@ -7,7 +7,7 @@ solr.replication.confFiles=schema.xml,mapping-ISOLatin1Accent.txt,protwords.txt, solr.mlt.timeAllowed=2000 # You should not set your luceneMatchVersion to anything lower than your Solr # Version. -solr.luceneMatchVersion=LUCENE_40 +solr.luceneMatchVersion=6.0.0 solr.pinkPony.timeAllowed=-1 # autoCommit after 10000 docs solr.autoCommit.MaxDocs=10000