You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Arcadius Ahouansou <ar...@menelic.com> on 2013/01/20 01:01:32 UTC
Re: XPath with ExtractingRequestHandler
Hi Mike.
I am going through this too.
How did you solve this?
Thanks.
Arcadius.
On 15 December 2011 12:49, Michael Kelleher <mj...@gmail.com> wrote:
> Yeah, I tried:
>
>
> //xhtml:div[@class='**bibliographicData']/**descendant:node()
>
> also tried
>
> //xhtml:div[@class='**bibliographicData']
>
> Neither worked. The DIV I need also had an ID value, and I tried both
> variations on ID as well. Still nothing.
>
>
> XPath handling for Tika seems to be pretty basic and does not seem to
> support most XPath Query syntax. Probably because it's using a Sax parser,
> I don't know. I guess I will have to write something custom to get it to
> do what I need it to.
>
> Thanks for the reply though.
>
> I will post a follow up with how I fixed this.
>
> --mike
>