Lucene Path *Index* with depth

Christian Klinger <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
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

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.