Skip to content

Commit

Permalink
#3311: Upgrade solr to v7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
murny committed Mar 17, 2024
1 parent ff10a63 commit f68f7a7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 334 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ services:
- '5432:5432'

solr:
image: solr:6.6
platform: linux/amd64
image: solr:7
ports:
- '8983:8983'
volumes:
Expand Down
311 changes: 0 additions & 311 deletions solr/conf/solrconfig.xml

This file was deleted.

9 changes: 0 additions & 9 deletions solr/config/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
1.3: removed optional field compress feature
1.4: default auto-phrase (QueryParser feature) to off
-->

<types>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" />
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
Expand Down Expand Up @@ -182,7 +181,6 @@
</fieldType>
</types>


<fields>
<!-- If you remove this field, you must _also_ disable the update log in solrconfig.xml
or Solr won't start. _version_ and update log are required for SolrCloud
Expand Down Expand Up @@ -337,20 +335,13 @@
<!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
<field name="all_text_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>


</fields>

<!-- Field to use to determine and enforce document uniqueness.
Unless this field is marked with required="false", it will be a required field
-->
<uniqueKey>id</uniqueKey>

<!-- field for the QueryParser to use when an explicit fieldname is absent -->
<!-- <defaultSearchField>text</defaultSearchField> -->

<!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
<solrQueryParser defaultOperator="OR"/>

<!-- copyField commands copy one field to another at the time a document
is added to the index. It's used either to index the same field differently,
or to add multiple fields to the same field for easier/faster searching. -->
Expand Down
Loading

0 comments on commit f68f7a7

Please sign in to comment.