> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED] 
> Sent: 03 February 2004 01:58
> To: xindice-users@xml.apache.org
> Subject: Re: added Xindice Ant Task to WIKI
> I've not seen code of your ant task, but how it 
> relates/compares to the 
> org.apache.xindice.tools.DeploymentTask? AFAIU, it can do all things 
> which you can do using admin tool.

Warning: its not pretty code which is why I put in wiki first !

Yes, perhaps this would have been the best place to start, but I wanted
to get my hands a little dirty so I can start understanding Xindice. 

In any event I want to do something like;

Encapsulate meta data

<xindice action="remove-collection" name="test collection"
host="127.0.0.1" port="8080" url="/xindice/db" collection="/db/pims">

    <metadata><a>asdfasdf</a></metadata>

</xindice>

Encapsulate Document Data

<xindice action="add-document" name="test doc" host="127.0.0.1"
port="8080" url="/xindice/db" collection="/db/test">

    <test><a>aaaaaaaaaaaaa</a></test>

</xindice>

Use Filesets to select documents to and from Xindice

<xindice action="add-document" name="test doc" host="127.0.0.1"
port="8080" url="/xindice/db" collection="/db/test">
<fileset dir="somedir">
        <includes name="**/*.xml"/>
</fileset>
</xindice>

I felt that if I bounded the Task with DeploymentTool there would have
been a problem later on....

Though it's a nice idea for an article for the Wiki.


Cheers, Jim Fuller

Reply via email to