If I'm not wrong, you can have several entities in one document, but just
one datasource configured.

[]sm


Lucas Frare Teixeira .·.
- lucas...@gmail.com
- lucastex.com.br
- blog.lucastex.com
- twitter.com/lucastex


On Sun, Nov 8, 2009 at 3:36 PM, Michael Lackhoff <mich...@lackhoff.de>wrote:

> On 08.11.2009 17:03 Lucas F. A. Teixeira wrote:
>
> > You have an example on using mail dih in solr distro
>
> <blush>Don't know where my eyes were. Thanks!</blush>
>
> When I was at it I looked at the schema.xml for the rss example and it
> uses "link" as UniqueKey, which is of course good, if you only have rss
> items but not so good if you also plan to add other data sources.
> So I am still interested in a good solution for my id problem:
>
> >> What didn't work but looks like the potentially best solution is to fill
> >> the id in my data-config by using the link twice:
> >>  <field column="link"         xpath="/RDF/item/link" />
> >>  <field column="id"           xpath="/RDF/item/link" />
> >> This would be a definition just for this single data source but I don't
> >> get any docs (also no error message). No trace of any inserts
> whatsoever.
> >> Is it possible to fill the id that way?
>
> and this one:
>
> >> And finally, is it possible to combine the definitions for several
> >> RSS-Feeds and Mail-accounts into one data-config? Or do I need a
> >> separate config file and request handler for each of them?
>
> Thanks
> -Michael
>

Reply via email to