Skip to content

Apache Lucene open-source search software

SOLR-5663: example-DIH uses non-existing column for mapping (case-sensitive)

Stefan Matheis22d2bb44b353
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index af1fbdd60fe..82cb040208d 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -222,6 +222,9 @@ Bug Fixes
* SOLR-5657: When a SolrCore starts on HDFS, it should gracefully handle HDFS
being in safe mode. (Mark Miller)
+* SOLR-5663: example-DIH uses non-existing column for mapping (case-sensitive)
+ (steffkes)
+
Optimizations
----------------------
diff --git a/solr/example/example-DIH/solr/db/conf/db-data-config.xml b/solr/example/example-DIH/solr/db/conf/db-data-config.xml
index 096377d0523..21f17a0b878 100644
--- a/solr/example/example-DIH/solr/db/conf/db-data-config.xml
+++ b/solr/example/example-DIH/solr/db/conf/db-data-config.xml
@@ -20,7 +20,7 @@
query="select DESCRIPTION from category where ID = '${item_category.CATEGORY_ID}'"
deltaQuery="select ID from category where last_modified > '${dataimporter.last_index_time}'"
parentDeltaQuery="select ITEM_ID, CATEGORY_ID from item_category where CATEGORY_ID=${category.ID}">
- <field column="description" name="cat" />
+ <field column="DESCRIPTION" name="cat" />
</entity>
</entity>
</entity>