[CPS-devel] Lucene Path *Index* with depth

Christian Klinger cklinger at novareto.de
Fri Aug 4 11:53:49 CEST 2006


Hello,

is it possible to enable a depth parameter in a path query?

Example

/Portal
/Portal/AA
/Portal/AA/BB
/Portal/CC


if i search with

  {'path':'/Portal','depth'=1}

results are:  Portal, Portal/AA, PortalBB

and if i search with:

    {'path':'/Portal','depth'=2}

results are: Portal, Portal/AA, Portal/AA/BB, Portal/AA/CC



thx christian



More information about the cps-devel mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.