It helps to be more specific in your question. Did you use the query string "//*" on your collection?
In general, indexing will be completely useless with this query. Indexing maps element and attribute names or values to documents in the collection. If there are no restrictions in your query, the presence of an index either has no effect, or negative effect, depending upon the details of implementation. In the current xindice, the index is used to pick out subsets of the documents that are known to contain matches to the query, but then an XPath processor must still run on each selected document. Use of the descendant axis may involve a lot of computation in this phase. An index is good for queries like "/a/b/c" (all the c elements which are children of /a/b) or "/a/b/[EMAIL PROTECTED]'7']" Jeff ----- Original Message ----- From: "asif ali" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, November 25, 2002 11:24 AM Subject: indexing > hi > > I was just experimenting with XIndice and stored a > complete set of documents (abt 4 MB) > and tried to get all the elements/nodes > > I applied indexing also but even them it is very slow > > I have abt 18000 nodes of various types > and it took 3 minutes to qry all > > where as my Parser application takes abt 25 seconds .. > > Is there any way to improve indexing .. > > asif > --- Dave Viner <[EMAIL PROTECTED]> wrote: > > try > > xindice ld -c /db/foo/bar > > > > xindice -h should show you the usage information for > > the command line > > client. > > > > dave > > > > > > -----Original Message----- > > From: asif ali [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 25, 2002 3:57 AM > > To: [email protected] > > Subject: how to list doc in a collection > > > > > > how can we list doc in collection from command line > > thanks > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus Powerful. Affordable. Sign up > > now. > > http://mailplus.yahoo.com > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com >
