Skip to content

Commit

Permalink
[#3192] add permission_labels to solr schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Aug 21, 2016
1 parent 5966198 commit 3589348
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ckan/config/solr/schema.xml
Expand Up @@ -24,7 +24,7 @@
<!-- We update the version when there is a backward-incompatible change to this
schema. In this case the version should be set to the next CKAN version number.
(x.y but not x.y.z since it needs to be a float) -->
<schema name="ckan" version="2.3">
<schema name="ckan" version="2.7">

<types>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
Expand Down Expand Up @@ -112,6 +112,7 @@ schema. In this case the version should be set to the next CKAN version number.
<field name="organization" type="string" indexed="true" stored="true" multiValued="false"/>

<field name="capacity" type="string" indexed="true" stored="true" multiValued="false"/>
<field name="permission_labels" type="text" indexed="true" stored="false" multiValued="true"/>

<field name="res_name" type="textgen" indexed="true" stored="true" multiValued="true" />
<field name="res_description" type="textgen" indexed="true" stored="true" multiValued="true"/>
Expand Down
2 changes: 1 addition & 1 deletion ckan/lib/search/__init__.py
Expand Up @@ -34,7 +34,7 @@ def text_traceback():

SIMPLE_SEARCH = asbool(config.get('ckan.simple_search', False))

SUPPORTED_SCHEMA_VERSIONS = ['2.3']
SUPPORTED_SCHEMA_VERSIONS = ['2.7']

DEFAULT_OPTIONS = {
'limit': 20,
Expand Down

0 comments on commit 3589348

Please sign in to comment.