You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ko...@apache.org on 2010/10/24 17:29:39 UTC
svn commit: r1026823 - in /lucene/dev/trunk/solr: ./
example/example-DIH/solr/db/ example/example-DIH/solr/db/data/
example/example-DIH/solr/mail/ example/example-DIH/solr/rss/
example/example-DIH/solr/rss/conf/ example/example-DIH/solr/rss/data/
Author: koji
Date: Sun Oct 24 15:29:39 2010
New Revision: 1026823
URL: http://svn.apache.org/viewvc?rev=1026823&view=rev
Log:
SOLR-2190: slashdot sample: xpath not match
Removed:
lucene/dev/trunk/solr/example/example-DIH/solr/db/data/
lucene/dev/trunk/solr/example/example-DIH/solr/rss/data/
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/example/example-DIH/solr/db/ (props changed)
lucene/dev/trunk/solr/example/example-DIH/solr/mail/ (props changed)
lucene/dev/trunk/solr/example/example-DIH/solr/rss/ (props changed)
lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/ (props changed)
lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml
lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/schema.xml
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1026823&r1=1026822&r2=1026823&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Sun Oct 24 15:29:39 2010
@@ -528,7 +528,9 @@ Bug Fixes
* SOLR-1794: Dataimport of CLOB fields fails when getCharacterStream() is
defined in a superclass. (Gunnar Gauslaa Bergem via rmuir)
-* SOLR-2173 Suggester should always rebuild Lookup data if Lookup.load fails. (ab)
+* SOLR-2173: Suggester should always rebuild Lookup data if Lookup.load fails. (ab)
+
+* SOLR-2190: change xpath from RSS 0.9 to 1.0 in slashdot sample. (koji)
Other Changes
----------------------
Propchange: lucene/dev/trunk/solr/example/example-DIH/solr/db/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Oct 24 15:29:39 2010
@@ -0,0 +1 @@
+data
Propchange: lucene/dev/trunk/solr/example/example-DIH/solr/mail/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Oct 24 15:29:39 2010
@@ -0,0 +1 @@
+data
Propchange: lucene/dev/trunk/solr/example/example-DIH/solr/rss/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Oct 24 15:29:39 2010
@@ -0,0 +1 @@
+data
Propchange: lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Oct 24 15:29:39 2010
@@ -0,0 +1 @@
+dataimport.properties
Modified: lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml?rev=1026823&r1=1026822&r2=1026823&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/rss-data-config.xml Sun Oct 24 15:29:39 2010
@@ -5,22 +5,17 @@
pk="link"
url="http://rss.slashdot.org/Slashdot/slashdot"
processor="XPathEntityProcessor"
- forEach="/RDF/channel | /RDF/item"
+ forEach="/rss/channel/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="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" />
+ <field column="title" xpath="/rss/channel/item/title" />
+ <field column="link" xpath="/rss/channel/item/link" />
+ <field column="description" xpath="/rss/channel/item/description" />
+ <field column="creator" xpath="/rss/channel/item/creator" />
+ <field column="item-subject" xpath="/rss/channel/item/subject" />
+ <field column="date" xpath="/rss/channel/item/date" dateTimeFormat="yyyy-MM-dd'T'hh:mm:ss" />
+ <field column="slash-department" xpath="/rss/channel/item/department" />
+ <field column="slash-section" xpath="/rss/channel/item/section" />
</entity>
</document>
</dataConfig>
Modified: lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/schema.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/schema.xml?rev=1026823&r1=1026822&r2=1026823&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/schema.xml (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/rss/conf/schema.xml Sun Oct 24 15:29:39 2010
@@ -294,11 +294,10 @@
<field name="link" type="string" indexed="true" stored="true" />
<field name="description" type="html" indexed="true" stored="true" />
<field name="creator" type="string" indexed="false" stored="true" />
- <field name="item-subject" type="string" indexed="true" stored="false" />
- <field name="date" type="date" indexed="true" stored="false" />
- <field name="slash-department" type="string" indexed="true" stored="false" />
- <field name="slash-section" type="string" indexed="true" stored="false" />
- <field name="slash-comments" type="sint" indexed="true" stored="true" />
+ <field name="item-subject" type="string" indexed="true" stored="true" />
+ <field name="date" type="date" indexed="true" stored="true" />
+ <field name="slash-department" type="string" indexed="true" stored="true" />
+ <field name="slash-section" type="string" indexed="true" stored="true" />
<field name="all_text" type="text" indexed="true" stored="false" multiValued="true" />
<copyField source="source" dest="all_text" />