[CPS-users] Complex queries in NXLucene

Lennart Regebro regebro at gmail.com
Sun Feb 18 10:22:47 CET 2007


I've been looking at the query possibilities in NXLucene, and it seems
to me that there is no way to group parts of query like, say:

  (path=/a/b/c and depth=3) or (uid=/a/b or uid=/a)

I can make an ungroupd query, of course, which means

  (path=/a/b/c or uid=/a/b or uid=/a) and (depth=3)

but that's not what I need, since that will apply the depth for the whole query.

I'd just like to confirm that before I start implementing another
complex solution to my problem (doing two separate queries and merging
them).

-- 
Lennart Regebro: Python, Zope, CPS, Plone consulting.
+33 661 58 14 64



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