lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul നോബിള്‍ नोब्ळ्" <>
Subject Re: DIH http input xpath syntax
Date Sun, 02 Nov 2008 02:39:02 GMT
The parser is Stax. But the XPath implementation is custom. Certain
XPath features are hard to implement in streaming way
There is not documentation yet.
You can access attributes like /root/a/b/@a
 attribute values can be checked like
/root/a/b[@k]/x or

A lot of what you achieve with advanced XPath can be achieved with a
custom Transformer. If I can get a usecase if would be helpful

All the supported things have testcases

On Sun, Nov 2, 2008 at 1:01 AM, Lance Norskog <> wrote:
> The wiki page for the DIH handler mentions that the XML is parsed with a
> streaming parser and that the xpath parser only handles a subset of the
> xpath syntax. Which streaming parser is it and where would I find this
> subset documented?  I tried a few things like the "the first entry" and
> "length of data > 3" and nothing worked.  "/a/b/c" was all that worked for
> me.
> Tx,
> Lance

--Noble Paul

View raw message