Hi,
        I am new to xindice. I added a few documents as DOMs and ran xpath
query successfully. Then I added an index on the collection and ran the
query. It takes same amount of time. 

Here are the details:

My document structure looks like this:

<INVOICE>
        <BILL_INVOICE.bill_ref_no>2</BILL_INVOICE.bill_ref_no)
        .
        .
        .
</INVOICE>

I loaded about 2000 documents.

When I run 'xindiceadmin xpath -c /db/test -q
/INOVICE/BILL_INVOICE.bill_ref_no' I get all the
/INOVICE/BILL_INVOICE.bill_ref_no elements.

Then ran the following command to add an index.

xindiceadmin ai -c /db/test -n BillRefNum  -p
/INOVICE/BILL_INVOICE.bill_ref_no

Now if run the same query as above, it still takes same time. Looks like it
not using the index i created.

Appreciate any help.

Thanks,
Sreeni

Reply via email to