You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shalin Shekhar Mangar <sh...@gmail.com> on 2009/04/06 11:17:29 UTC

Re: DIH API for specifying a either specific or all configurations imported

On Mon, Apr 6, 2009 at 2:35 PM, Wesley Small <We...@mtvstaff.com>wrote:

>
> Is there any way to specify or debug a specific DIH configuration via the
> API/http request?
>
> I have the following:
>
> <lst name="defaults">
> <str name="config">dih_pc_default_feed.xml</str>
> </lst>
> <lst name="pc_cms_article">
> <str name="config">dih_pc_cms_article_feed.xml</str>
> </lst>
> <lst name="pc_local_event">
> <str name="config">dih_pc_local_event_feed.xml</str>
> </lst>
>

That is not a valid configuration. There can be only one single config (the
one specified under "defaults") per core.


>
> For example, is there any to specific only the "pc_local_event" be process
> (imported)?


Perhaps what you intend to do, can be achieved through multiple root
entities in the same data-config.xml ?


> Another questions, if command=full-import, this should effectively mean
> that
> all DIH configuration are executed in sequential order.  Is that correct?
>  I
> am not seeing that behaviour at present.


All root entities are executed sequentially. What behavior are you seeing?

-- 
Regards,
Shalin Shekhar Mangar.