Stefan, Thank you very much! It works perfect... Any idea for the other question? Someone?
Matias. 2011/3/2 Stefan Matheis <matheis.ste...@googlemail.com> > Matias, > > for indexing constant/static values .. try > http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer > > Regards > Stefan > > On Wed, Mar 2, 2011 at 2:46 PM, Matias Alonso <matiasgalo...@gmail.com> > wrote: > > 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. > > >