jcr:contains can have any valid lucene syntax, hence also *. jcr:contains(@property, '*') is though not the prefrerrable way to find if a property exists.
[EMAIL PROTECTED] is. -Ard > > i dunno what behavior to expect as the * operator is > documented neither in JSR-170 nor Jackrabbit wiki. > > On Fri 1. February 2008 18:15:57 Brian Thompson wrote: > > What behavior would you expect? Unless I misunderstood > your message, > > the query you specified asked if @property contained "any value"; > > thus, if the property exists, it meets the criteria you specified. > > > > > > > > -Brian > > > > On Feb 1, 2008 10:59 AM, Martin Zdila > <[EMAIL PROTECTED]> wrote: > > > Hello > > > > > > I've found out that if I use jcr:contains(@property, '*') it will > > > return true if property exists. I haven't found this feature in > > > JSR-170 document. Is it a proprietary feature of > Jackrabbit? If so, > > > is there some documentation about all such features? > > > > > > Thanks in advance. > > > > > > -- > > > Martin Zdila > > > CTO > > > > > > M-Way Solutions Slovakia s.r.o. > > > Letna 27, 040 01 Kosice > > > Slovakia > > > > > > tel:+421-908-363-848 > > > mailto:[EMAIL PROTECTED] > > > http://www.mwaysolutions.com > > > xmpp:[EMAIL PROTECTED] (Jabber) > > > skype:m.zdila > > > > -- > Martin Zdila > CTO > > M-Way Solutions Slovakia s.r.o. > Letna 27, 040 01 Kosice > Slovakia > > tel:+421-908-363-848 > mailto:[EMAIL PROTECTED] > http://www.mwaysolutions.com > xmpp:[EMAIL PROTECTED] (Jabber) > skype:m.zdila >
