In general, it works best to start with one of the examples and slowly change it to match what you want.
On Sun, Mar 20, 2011 at 10:16 PM, Gora Mohanty <g...@mimirtech.com> wrote: > (Sorry for the delay in replying: Was a little busy this weekend.) > On Sun, Mar 20, 2011 at 5:20 AM, neha <pneha...@yahoo.com> wrote: >> The path is correct and also the base dir points to the list of .xml files >> not just a single file. > > OK. > >> This is the link to the xml file: > > Another thing that I see is that the xpath in your field entries > is a relative one. I think, though am not 100% sure, that it needs > to be an absolute one, i.e., xpath="/sciserv/sci_article/journal/issn", > instead of xpath="/journal/issn". > > Please take a look at the setup for XPathEntityProcessor in > example/example-DIH/solr/rss/conf/rss-data-config.xml under > the main Solr data directory. You can compare the xpath > definitions to the structure of the XML in the Atom feed that > it indexes. > > Regards, > Gora > -- Lance Norskog goks...@gmail.com