xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Brown" <pjb...@cs.nott.ac.uk>
Subject Add Indexer using API
Date Sat, 22 Mar 2003 12:59:35 GMT
Does anyone know how to use the Xindice/XML:DB Java API to create
another index for a collection?

I have the xml file:

		<keyword value="zaa"/>
		<keyword value="aaa"/>
		<keyword value="aza"/>

I would like to create an index on the 'value' attribute content for
fast search and retrieval from an xpath query:
"//keywords[subject_keywords/keyword[@value='aza']]", and thus an
indexing on the attribute would speed up the search. I can do this from
the command line using:

xindice add_indexer -c /db/keywords/subject_keywords -n keywordindex -p

Any ideas?

View raw message