Apache Lucene open-source search software
fix indent in DIH sample
Koji Sekiguchia813e53adf2c
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.xmlindex 3638748ba1d..9fb10eab38b 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@@ -1,7 +1,7 @@<dataConfig><dataSource driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:./example-DIH/hsqldb/ex" user="sa" /><document>- <entity name="item" query="select * from item"+ <entity name="item" query="select * from item"deltaQuery="select id from item where last_modified > '${dataimporter.last_index_time}'"><field column="NAME" name="name" /><field column="NAME" name="nameSort" />diff --git a/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml b/solr/example/example-DIH/solr/rss/conf/rss-data-config.xmlindex c28e0bd5908..fd0e2c84269 100644--- a/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml+++ b/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml@@ -1,26 +1,26 @@<dataConfig>- <dataSource type="HttpDataSource" />- <document>- <entity name="slashdot"- pk="link"- url="http://rss.slashdot.org/Slashdot/slashdot"- processor="XPathEntityProcessor"- forEach="/RDF/channel | /RDF/item"- transformer="DateFormatTransformer">+ <dataSource type="HttpDataSource" />+ <document>+ <entity name="slashdot"+ pk="link"+ url="http://rss.slashdot.org/Slashdot/slashdot"+ processor="XPathEntityProcessor"+ forEach="/RDF/channel | /RDF/item"+ transformer="DateFormatTransformer">- <field column="source" xpath="/RDF/channel/title" commonField="true" />- <field column="source-link" xpath="/RDF/channel/link" commonField="true" />- <field column="subject" xpath="/RDF/channel/subject" commonField="true" />+ <field column="source" xpath="/RDF/channel/title" commonField="true" />+ <field column="source-link" xpath="/RDF/channel/link" commonField="true" />+ <field column="subject" xpath="/RDF/channel/subject" commonField="true" />- <field column="title" xpath="/RDF/item/title" />- <field column="link" xpath="/RDF/item/link" />- <field column="description" xpath="/RDF/item/description" />- <field column="creator" xpath="/RDF/item/creator" />- <field column="item-subject" xpath="/RDF/item/subject" />- <field column="date" xpath="/RDF/item/date" dateTimeFormat="yyyy-MM-dd'T'hh:mm:ss" />- <field column="slash-department" xpath="/RDF/item/department" />- <field column="slash-section" xpath="/RDF/item/section" />- <field column="slash-comments" xpath="/RDF/item/comments" />- </entity>- </document>+ <field column="title" xpath="/RDF/item/title" />+ <field column="link" xpath="/RDF/item/link" />+ <field column="description" xpath="/RDF/item/description" />+ <field column="creator" xpath="/RDF/item/creator" />+ <field column="item-subject" xpath="/RDF/item/subject" />+ <field column="date" xpath="/RDF/item/date" dateTimeFormat="yyyy-MM-dd'T'hh:mm:ss" />+ <field column="slash-department" xpath="/RDF/item/department" />+ <field column="slash-section" xpath="/RDF/item/section" />+ <field column="slash-comments" xpath="/RDF/item/comments" />+ </entity>+ </document></dataConfig>diff --git a/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml b/solr/example/example-DIH/solr/tika/conf/tika-data-config.xmlindex d2a0ec9ef9c..e2f4c37eb9e 100644--- a/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml+++ b/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml@@ -1,10 +1,10 @@<dataConfig>- <dataSource type="BinFileDataSource" />- <document>+ <dataSource type="BinFileDataSource" />+ <document><entity name="tika-test" processor="TikaEntityProcessor" url="../contrib/extraction/src/test/resources/solr-word.pdf" format="text"><field column="Author" name="author" meta="true"/><field column="title" name="title" meta="true"/><field column="text" name="text"/></entity>- </document>+ </document></dataConfig>