You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Alex Brown <al...@griffinbrown.co.uk> on 2002/12/12 12:50:07 UTC

Building indexes for content that uses Namespaces

Hello,

I'm using Xindice 1.1b to store a number of documents in which all elements
have an explicit namespace.

Using the command:

xindice add_indexer -c /db/mydb -n headingindex -p
[my_namespace_uri_here]heading

All is well, I can see the index being built for <heading> elements (as a
file in the appropriate directory).

However, trying also to index to all id elements with:

xindice add_indexer -c /db/mydb -n idindex -p *@[my_namespace_uri_here]id

this doesn't cause an id index to be built (it stays at its unpolulated size
of 6K) -- in fact no indexing is done whatever when this indexer is
specified, even for <heading> which previously worked.

Is there a way of indexing attribute values when the attributes are in a
Namespace?

(This is a fresh build from today's CVS version of 1.1b, on W2K, JDK 1.4.1
and Tomcat 4.1.12)

- Alex.