hi all,
   I don't know wether this query is suitable for this site or not..but
hope someone might be able to help me out on this.

I just now installed Xindice1.0 binary release version.As per the
instruction for xindice docs,i started up the database and i can see the
'db' instance also.

When i do a list of all collections that are present through the DOS
command line:
c:\xindice>xindice lc -c /db
i see "system"..which is ok.

Going by the setup documents for setting up a new collection under db
instance..when i run these command...i just see this getting thrown at
me.
c:\xindice> xindice ac -c /db -n Artist

-----------
Format: xindice action [switch] [parameter]

Where:  [switch]  implements:
    -c           Collection context (must always be specified)
    -e           File extension for multiple documents
    -f           File path for document retrieval and storage
    -i           Implementing Class for XMLObjects
    -n           Name
    -o           URI String for invocation of XMLObject
    -p           Index pattern
    -q           Query string
    -u           Database URI
    -y           Force Deletion process
    -t           Specify the data type in collection index
    --pagesize   Page size for file pages (default: 4096)
    --maxkeysize The maximum size for file keys (default: 0=none)


Actions:

    xindice [parameter], etc...

    ad           Adds a document
    addmultiple  Adds multiple documents
    dd           Deletes a document
    lc           Retrieves a collection/nested collection list
    rd           Retrieves a document for storage elsewhere
    ld           Retrieves a list of documents in a particular
collection
    invoke       Invokes an XML Object on a collection
    lo           Retrieves an XMLObject list from a collection
    xpath        Queries a Collection using XPath
    export       Exports a collection/document from a directory tree

Examples:

    xindice ad -c /db/test -f /tmp/xmldocument -n myxmldocument
    xindice dd -c /db/test -n myxmldocument
    xindice rd -c /db/test/ocs -f a:\file.xml -n file.xml
    xindice xpath -c /db/test/ocs -q test

For more information, please read the Xindice - Tools Reference Guide
-------------------
...its as if xindice can't understand the action for "add_collection".

I did notice in the Xindice docs that the current binary release might
not work with JDK1.4...is it something to do with that???I have also
placed all the .jar files that came in \xindice\java\lib dir in the
CLASSPATH.

I am trying to test the Wiki Howto:
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice

any help or suggestion would be very much appreciated..

regards,
Gautam


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to