Problem with content search.

2007-03-12 Thread Malligarjunan Sidduraj
My Query String queryString = /jcr:root//element(*, nt:resource)[(jcr:contains(., ' + keyWord + '))]; Workspace workspace=session.getWorkspace(); QueryManager qm = workspace.getQueryManager(); Query query = qm.createQuery(queryString, Query.XPATH); QueryResult queryResult =

DBConfiguration at runtime?

2007-02-19 Thread Malligarjunan Sidduraj
All, Can I configure the db info at the runtime? Any API available in JCR/Jackrabbit? Is there any other way available to configure the db info rather than configuring in repository.xml Thanks Malligarjunan S.

is XPath possible on property value?

2007-02-18 Thread Malligarjunan Sidduraj
All, Can we apply XPath on a particular Property value which is a type of application/xml. We can do XPath on JCR tree Hierarchy that I know. Ex : //[EMAIL PROTECTED] = 'wsdl' In that above example I want apply the XPath on Property value? Like //[EMAIL PROTECTED] = (XPATH Query) or