Xindice related query..
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:\xindicexindice 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 xpathQueries 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]
Re: Xindice related query..
Hi, On Tue, 25 Mar 2003, Gautam Ganguly wrote: 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. Probably better to ask on the xindice mailing list (see the xindice web site for details). 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 The documentation is out of step with the code. Try: c:\xindice xindiceadmin ac -c /db -n Artist For collection manipulation, 'xindiceadmin' seems to be the required command. For data manipulation and querying, 'xindice' works. Hope that helps, Andrew. -- Andrew SavoryEmail: [EMAIL PROTECTED] Managing Director Tel: +44 (0)870 741 6658 Luminas Internet Applications Fax: +44 (0)700 598 1135 This is not an official statement or order.Web:www.luminas.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice related query..
Hello. Try: xindiceadmin ac -c /db -n Artist Anyway, I usually use some of the GUI tools available for Xindice. Take a look at http://xml.apache.org/xindice/related.html Btw, the wiki how-to was accepted as a official how-to some weeks ago, and I polished it a bit before submitting it. See http://xml.apache.org/cocoon/howto/howto-xindice-xmlform.html Both should do the job anyway. Hope it helps. - Original Message - From: Gautam Ganguly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 12:28 AM Subject: Xindice related query.. 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:\xindicexindice 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 xpathQueries 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice related query..
Thanks to both of you for your help...xindiceadmin it is!! [EMAIL PROTECTED] 03/25/03 06:34PM Hi, On Tue, 25 Mar 2003, Gautam Ganguly wrote: 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. Probably better to ask on the xindice mailing list (see the xindice web site for details). 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 The documentation is out of step with the code. Try: c:\xindice xindiceadmin ac -c /db -n Artist For collection manipulation, 'xindiceadmin' seems to be the required command. For data manipulation and querying, 'xindice' works. Hope that helps, Andrew. -- Andrew SavoryEmail: [EMAIL PROTECTED] Managing Director Tel: +44 (0)870 741 6658 Luminas Internet Applications Fax: +44 (0)700 598 1135 This is not an official statement or order.Web: www.luminas.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Xindice related query..
Hi Gautam, try http://www.schatten.info/software/xindice_browser/xindice_browser.html It is much easier to debug your commands with that Xindice-GUI Kind regards, Stephan -Ursprüngliche Nachricht- Von: Gautam Ganguly [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. März 2003 00:29 An: [EMAIL PROTECTED] Betreff: Xindice related query.. 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:\xindicexindice 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 xpathQueries 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]