Re: Simple Xpath query -Looking for a file(node) by name

2008-09-07 Thread Alexander Klimetschek
On Sat, Sep 6, 2008 at 10:50 PM, Julio Castillo <[EMAIL PROTECTED]> wrote: > Marcel, > Let me see if I understand you, are you saying that I need to embed some > code into Jackrabbit so that I can process such queries? > > I was hoping that there would be some support with the current XPath syntax

RE: Simple Xpath query -Looking for a file(node) by name

2008-09-06 Thread Julio Castillo
[mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 5:54 AM To: users@jackrabbit.apache.org Subject: Re: Simple Xpath query -Looking for a file(node) by name Hi, as mentioned in [1], you need to create a JQOM which allows you to do like matches on the local name of a node. see the link that

Re: Simple Xpath query -Looking for a file(node) by name

2008-09-05 Thread Marcel Reutegger
gt; > -Original Message- > From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 9:17 AM > To: users@jackrabbit.apache.org > Subject: Re: Simple Xpath query -Looking for a file(node) by name > > Maybe you could post the qu

RE: Simple Xpath query -Looking for a file(node) by name

2008-09-04 Thread Julio Castillo
ssage- From: Alexander Klimetschek [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 9:17 AM To: users@jackrabbit.apache.org Subject: Re: Simple Xpath query -Looking for a file(node) by name Maybe you could post the query that you tried? But I guess this mail has your solution: http://markm

Re: Simple Xpath query -Looking for a file(node) by name

2008-09-04 Thread Alexander Klimetschek
Maybe you could post the query that you tried? But I guess this mail has your solution: http://markmail.org/message/2ppoe5fxldd7abaw Regards, Alex On Thu, Sep 4, 2008 at 7:17 AM, Julio Castillo <[EMAIL PROTECTED]> wrote: > I have successfully put together a Query Builder using the latest release

Simple Xpath query -Looking for a file(node) by name

2008-09-03 Thread Julio Castillo
I have successfully put together a Query Builder using the latest released version of Jackrabbit accessed remotely via the SPI layer. I have no problem searching for content whether inside the file or appended to the file via properties. I'm however stuck with a simple query (syntax probably). I lo

Re: Simple Xpath Query

2008-06-16 Thread ehsavoie
urn no child. >> >> Where is my mistake ? (I am using jackrabbit 1.4 core 1.4.5) > > did you make sure that those nodes are saved before you execute the query? > > regards > marcel > > Yes :( But I have moved back to Lucene 2.2 (I was using 2.3.2) and it

Re: Simple Xpath Query

2008-06-16 Thread Marcel Reutegger
Hi, Emmanuel Hugonnet wrote: This query works fine : /jcr:root/kmelia60/*retuning my 2 child nodes whith the primaryType my:type while this one : /jcr:root/kmelia60/element(*, my:type) return no child. Where is my mistake ? (I am using jackrabbit 1.4 core 1.4.5) did you make sure that

Simple Xpath Query

2008-06-16 Thread Emmanuel Hugonnet
Hi, I am trying to use XPath query and I must be doing something wrong : This query works fine : /jcr:root/kmelia60/*retuning my 2 child nodes whith the primaryType my:type while this one : /jcr:root/kmelia60/element(*, my:type) return no child. Where is my mistake ? (I am using jackrabbit

RE: simple XPATH query optimization

2007-12-03 Thread Ard Schrijvers
Hello, > Hello all! > > We have a node with 50 children, each child has the property > URL, this property holds the URL. > > We want to use XPATH to query the nodes like this: > > /jcr:root/websites/*[jcr:like(@URL, "%\/\/www.domain.com%")] > > However for some reason this query takes about 3

simple XPATH query optimization

2007-12-03 Thread Eugeny N Dzhurinsky
Hello all! We have a node with 50 children, each child has the property URL, this property holds the URL. We want to use XPATH to query the nodes like this: /jcr:root/websites/*[jcr:like(@URL, "%\/\/www.domain.com%")] However for some reason this query takes about 30 seconds to execute JackRab