[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Indexing XML documents



On Mon, 03 Jul 2000, you wrote:
> They are using their own query language. Because of the lack of any
> alternative we have to use XPath. But XPath is not intended to be used for
> querying a la SQL. IMO indexing isn't useful for XPath per se. XPath
> much deals with paths like " /PLAY/ACT/TITLE". Using the DTD is the way to
> speed up path processing. And for the real searches like
> "[../SCENE/SPEECH/SPEAKER='CLEOPATRA']" simple indexes are not useful because
> the result set is most often qualified (read: one cannot simply use the SPEAKER
> index, which probably contains all SPEAKERS of the document, in the above
> example)

First thought on this: You don't know any DTD inside the database.

> So the the question is, could indexing help to speed up XPath anyhow or is it
> "inherently non-indexable".

Some weeks ago David Duddleston reported that eXelons XPath queries on indexed
documents are much more faster than normal XPath queries. So this question is
answered already!

Lars
-- 
________________________________________________________________
Lars Martin                               lars@softwarebuero.de
SMB - softwarebuero m&b         http://www.softwarebuero.de