Hello,

        I hope this is not an extraordinarily dumb question but I am having some
difficulty with an experiment using Xindice.

        I have loaded a collection with about 59000 extremely small xml docs 
that
look like this:

<?xml version="1.0"?>
<quad>
  <name>Rising Sun</name>
  <index>39076F1</index>
  <state>MD</state>
  <state>PA</state>
</quad>

        I then create an index :
C:\dbxml-test>dbxmladmin ai -c /db/usgs -n quadndx -p index
CREATED : quadndx

        and perform a query:
C:\dbxml-test>dbxml xpath -c /db/usgs -q "/quad[index='32088F4']"

        with this result after a very long wait:
<?xml version="1.0"?>
<quad xmlns:src="http://www.dbxml.org/Query"; src:col="/db/usgs"
src:key="32088F4">
<name>Porterville</name>
<index>32088F4</index>
<state>MS</state>
<state>AL</state>
</quad>

        If I do a retrieve document on the key there is no appreciable wait on 
the
retrieval:
C:\dbxml-test>dbxml rd -c /db/usgs -n 32088F4

Am I creating the Xindice index with the correct pattern for speeding access
to the <index> tag?
Sorry for the "index" confusion - the tag <index> is the USGS index book id
for a given quad

Thanks
Randy George

Reply via email to