[ckan-changes] commit/ckanext-solr: pudo: allow underscores and dashes in facet names
Bitbucket
commits-noreply at bitbucket.org
Thu Jun 9 19:31:30 UTC 2011
1 new changeset in ckanext-solr:
http://bitbucket.org/okfn/ckanext-solr/changeset/1ea05da09af9/
changeset: 1ea05da09af9
user: pudo
date: 2011-06-09 21:31:20
summary: allow underscores and dashes in facet names
affected #: 2 files (8 bytes)
--- a/ckanext/solr/indexing.py Fri Apr 29 19:45:33 2011 +0200
+++ b/ckanext/solr/indexing.py Thu Jun 09 21:31:20 2011 +0200
@@ -7,7 +7,7 @@
TYPE_FIELD = "entity_type"
PACKAGE_TYPE = "package"
-KEY_CHARS = string.digits + string.letters
+KEY_CHARS = string.digits + string.letters + "_-"
SOLR_FIELDS = [TYPE_FIELD, "res_url", "text", "urls", "indexed_ts", "site_id"]
--- a/schema.xml Fri Apr 29 19:45:33 2011 +0200
+++ b/schema.xml Thu Jun 09 21:31:20 2011 +0200
@@ -131,7 +131,7 @@
<field name="linked_from" type="text" indexed="true" stored="false" multiValued="true"/><field name="child_of" type="text" indexed="true" stored="false" multiValued="true"/><field name="parent_of" type="text" indexed="true" stored="false" multiValued="true"/>
- <field name="extras_*" type="text" indexed="true" stored="true" multiValued="true"/>
+ <field name="extras_*" type="text" indexed="true" stored="false" multiValued="true"/><field name="indexed_ts" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
Repository URL: https://bitbucket.org/okfn/ckanext-solr/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list