Hi all:
  I have some question about using index on xindice. I have a fairly large xml
file(2.3M), with lots of nosense element, however, there are only two element I
interested in the file:  <div>test</div> <div name="algo"/>

I want to query this xml file using xpath //div[.="test"], //[EMAIL 
PROTECTED]"algo"],
and //div to get the element I want. The processing time is pretty long. 
However,
after I add indexes
        xindice ai -c /db/test -p div
        xindice ai -c /db/test -p [EMAIL PROTECTED]
their performance doesn't get any better.

My questions are:
        - Whether the index of Xindice only helps the query on lots of files, 
          not on a sinlge file?
        - If the index can work on a single file, whether the way I am creating
          the index is right?
        - In one word, how can I create a index on a document to help me 
          quickly find the element I want with its value or its attribute's 
value
          as search keyword?

Thanks a lot

>  
> Yue(Eric) Zhang
> Database Analyst/DBA, TAPoR Project
> Arts Department, University of Alberta
> Edmonton, AB, Canada

Reply via email to