Good Morning,
First, sorry for my poor english.
I trying to index “blogs” (rss) to my solr, so I´m using a dataImportHandler
for this.
I can´t index the date and I don´t no how to index static values (constant)
in a Field.
When I make a “Full Import” it doesn´t index the docs; if I delete the line
of date, it´s work.
When I debug with verbose it shows me the right information.
Below you can see my dataImportHandler:
<dataConfig>
<dataSource type="URLDataSource" />
<document>
<entity name="blog-DiegoLL"
pk="link"
url="
http://locademiaz.wordpress.com/feed/"
processor="XPathEntityProcessor"
transformer="DateFormatTransformer"
forEach="/rss/channel/item">
<field column="fecha" xpath="/rss/channel/item/pubDate" dateTimeFormat="EEE,
d MMM yyyy HH:mm:ss Z" />
<field column="titulo" xpath="/rss/channel/item/title" />
<field column="link" xpath="/rss/channel/item/link" />
<field column="contenido" xpath="/rss/channel/item/description" />
<field column="autor" xpath="/rss/channel/item/creator" />
</entity>
</document>
</dataConfig>
I appreciate your help.
Thank you very much.
Matias.