jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Wieler" <bob.wie...@gmail.com>
Subject Re: XPath queries on version history nodes
Date Fri, 11 May 2007 14:13:22 GMT
Thank you Marcel! That's exactly what was needed.

Bob

On 5/11/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> The index for the version storage is the SearchIndex child of the
> Repository
> element in the repository.xml
>
> See:
>
> http://svn.apache.org/repos/asf/jackrabbit/tags/1.3/jackrabbit-core/src/main/config/repository.xml
>
> It's at the very end of the file.
>
> regards
>   marcel
>
> Bob Wieler wrote:
> > The version workspace configuration we're using is:
> >
> >  <Versioning rootPath="${rep.home}/version">
> >    <FileSystem class="
> org.apache.jackrabbit.core.fs.local.LocalFileSystem">
> >      <param name="path" value="${rep.home}/version"/>
> >    </FileSystem>
> >    <PersistenceManager class="
> > org.apache.jackrabbit.core.state.xml.XMLPersistenceManager"/>
> >  </Versioning>
> >
> > I'm not sure what else would need to be configured to allow me to search
> > through the version history node.
> >
> > Thank you for your help,
> >
> > Bob
> >
> > On 5/10/07, harvey waters <harvey.waters@googlemail.com> wrote:
> >>
> >> Just a thought, but have you set up the Version workspace index
> >> settings ?
> >>
> >> On 5/9/07, Bob Wieler <bob.wieler@gmail.com> wrote:
> >> >
> >> > ---------- Forwarded message ----------
> >> > From: Bob Wieler <bob.wieler@gmail.com>
> >> > Date: May 9, 2007 5:11 PM
> >> > Subject: XPath queries on version history nodes
> >> > To: users@jackrabbit.apache.org
> >> >
> >> > I'm trying to write an XPath query (Jackrabbit version 1.3) that will
> >> find
> >> > all of the jcr:versionLabels nodes in the repository however most of
> my
> >> > queries are not returning results from the
> >> > /jcr:root/jcr:system/jcr:versionStorage area.
> >> >
> >> > If I execute the query:
> >> >
> >> > //*
> >> >
> >> > As expected I receive all of the nodes in the repository including
> ones
> >> in
> >> > the jcr:versionStorage area however when I try to target all nodes of
> >> type
> >> > nt:versionLabels with the query //element(*, nt:versionLabels)
> nothing
> >> is
> >> > returned.
> >> >
> >> > I've tried previously posted examples (tailored for my repository)
> >> however
> >> > none of them allow me to query information in the jcr:versionStorage
> >> area.
> >> >
> >> > Bob
> >> >
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message