Xupdate query

2002-06-13 Thread Umesh Rathod
Hi:    Can anyone tell me how to write XUpdate query in PHP? Thanks and Regards,Umesh

Re: problems with iso-8859-2 text

2002-06-13 Thread Kimbro Staken
On Tuesday, June 11, 2002, at 01:58 PM, Adrian Petru Dimulescu wrote: On the other hand, what's happening with the UTF-8 under Xindice? I took a look at the black Xindice mail archive and I saw a message with a patch. Getting the latest Xindice CVS, I could not find this patch in the current sourc

Re: Collection size after deleting

2002-06-13 Thread Kimbro Staken
On Thursday, June 13, 2002, at 04:18 AM, Daniel Kroeger wrote: Hello, is it normal, that the size of a collection doesn't shrink if you delete documents: Yes it's normal, maybe not good, but normal. I have a collection which has 12.288 bytes after its creation. Than I add 100.000 documents, make a

Re: Xindice as a servlet?

2002-06-13 Thread Mark J. Stang
Kimbro/Tom/et. al., If I understand what you are saying, in this and other e-mails from this time-frame, all of the XML:DB API is done through CORBA. One option is to start Xindice from within my application as opposed to running it in a seperate JVM from the command-line. So, at that point, cli

Again: Indexer does not work !?!

2002-06-13 Thread Daniel Kroeger
Oh yes, the Indexer works. Inspired by the Test-Script of Dirk, i did my own one. In fact it was only because I'm using Perl and my PC doesn't know what a JDK is :-) Inserting 100.000 documents I could limit the query time from 83,39 sec. without Indexer to 0,291 sec. with Indexer. If anyone is in

AW: AW: Collection size after deleting

2002-06-13 Thread Daniel Kroeger
Thanks..I love those workarounds! > -Ursprungliche Nachricht- > Von: KOZLOV Roman [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 13. Juni 2002 17:13 > An: xindice-users@xml.apache.org > Betreff: Re: AW: Collection size after deleting > > > Hi Daniel, > > You can try export -> de

Re: AW: Collection size after deleting

2002-06-13 Thread KOZLOV Roman
Hi Daniel, You can try export -> delete collection -> import. Roman Daniel Kroeger wrote: > OK, wonderfulllet's buy some new harddisks! > > If I empty the complete collection, I can delete it anyway and free the > space. > But what if just delete 250.000 documents out of 500.000. > Do I

Re: AW: Collection size after deleting

2002-06-13 Thread Mark J. Stang
Not being a Xindice developer, I am a developer who uses Xindice, my guess is, yes. The problem, as I see it, is that at some point during the lifetime of the collection it makes sense to recover some of the space. Assuming of course that you are not going to reuse it right away. Hard for Xind

AW: Collection size after deleting

2002-06-13 Thread Daniel Kroeger
OK, wonderfulllet's buy some new harddisks! If I empty the complete collection, I can delete it anyway and free the space. But what if just delete 250.000 documents out of 500.000. Do I have to live with 1 GB of unused but not useable space, or is there another possibilty? Thanks Daniel

Re: Collection size after deleting

2002-06-13 Thread Mark J. Stang
If I remember right, Xindice doesn't free space when you delete documents. Mark Daniel Kroeger wrote: > Hello, > > is it normal, that the size of a collection doesn't shrink if you delete > documents: > > I have a collection which has 12.288 bytes after its creation. > Than I add 100.000 documen

RE: Problem with xupdate using xml-rpc.

2002-06-13 Thread Cobus . Nel
Sorry, I copied and pasted the document. The line should look as follows: d = server.db.queryDocument( "/db/homesite", "XUpdate", updatequery, l, "index" ) This line was used in the program that produced the results in my previous email. It will generate an error if the name of the doc-id are

AW: Problem with xupdate using xml-rpc.

2002-06-13 Thread Daniel Kroeger
Hi Cobus. am I right, if I say you forgot the id of the document to xupdate? Both types of queries with "queryDocument", XPath or XUpdate need a doc-id. (At least in using perl over XML-RPC) Daniel > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet

Problem with xupdate using xml-rpc.

2002-06-13 Thread Cobus . Nel
Hi Can anyone tell me if i am doing something wrong? I did search the mailing lists, but could not find any helpful info. I am using the xindice xml-rpc functionality with python. My system is as follows: Linux 2.4 xinidce version 1.0 xindice-xmlrpc-0.6 python 2.2 My XPath queries work perfe

Collection size after deleting

2002-06-13 Thread Daniel Kroeger
Hello, is it normal, that the size of a collection doesn't shrink if you delete documents: I have a collection which has 12.288 bytes after its creation. Than I add 100.000 documents, make an XPath query and delete the documents. But the collection stays at 437.067.776 bytes.which is

view *.tbl file

2002-06-13 Thread Deep Narain Singh
Hi Can anyone please tell me how can we view *.tbl file? Thanks and Regards Deep

basic query

2002-06-13 Thread Deep Narain Singh
Hi Can any one please help me to answer the basic query: 1) Xindice uses the Xpath query language. How it defers to Hypersonic what it is used in JetSpeed? 2) I have run the sample example database of schema name "Person". Can any one please tell me where the data get stored? 3) I am trying to in

FW: Build the Addressbook.war

2002-06-13 Thread Deep Narain Singh
Problem has been solved. Thanks Regards Deep -Original Message- From: Deep Narain Singh [SMTP:[EMAIL PROTECTED] Sent: Thursday, June 13, 2002 1:34 PM To: 'xindice-users@xml.apache.org' Subject:FW: Build the Addressbook.war Hi I have modify my previous problem and but

FW: Build the Addressbook.war

2002-06-13 Thread Deep Narain Singh
Hi I have modify my previous problem and but now get the following one::: C:\xml-xindice-1.0\bin>ant C:/jakarta-ant-1.4.1 java -classpath c:\jdk1.3.1_01\lib\tools.jar;%CPATH%;C:/jakarta-ant-1.4.1/lib/ant.jar;C:/jakarta-ant-1.4.1\con fig;C:/jakarta-ant-1.4.1\java\lib\xerces_1.4.3.jar -Dant.home=

Build the Addressbook.war

2002-06-13 Thread Deep Narain Singh
Hi When I try to run and build the example "AddressBook.war" file I get the following error: I am using Tomcat 4.0 and Ant 1.4.1. As mentioned into Readme.txt file I went to %Xindice_Home%\bin directory and type the "ant" I get the following error: C:/jakarta-ant-1.4.1 java -classpath c:\jd