Any ideas anyone?! Paul -----Original Message----- From: Paul Brown [mailto:[EMAIL PROTECTED] Sent: 22 March 2003 13:00 To: xindice-users@xml.apache.org Subject: Add Indexer using API
Does anyone know how to use the Xindice/XML:DB Java API to create another index for a collection? I have the xml file: <keywords> <subject_keywords> <keyword value="zaa"/> <keyword value="aaa"/> <keyword value="aza"/> </subject_keywords> ... </keywords> I would like to create an index on the 'value' attribute content for fast search and retrieval from an xpath query: "//keywords[subject_keywords/[EMAIL PROTECTED]'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 [EMAIL PROTECTED] Any ideas?