[Nuxeo-tickets] Re: [Nuxeo Repository] #1796: NOT boolean operator isn't supported

Nuxeo Repository trac at nuxeo.com
Tue Dec 12 17:55:32 CET 2006


#1796: NOT boolean operator isn't supported
----------------------+-----------------------------------------------------
 Reporter:  gracinet  |        Owner:  gracinet 
     Type:  defect    |       Status:  closed   
 Priority:  P1        |    Milestone:  CPS 3.4.4
Component:  Lucene    |      Version:  TRUNK    
 Severity:  normal    |   Resolution:  fixed    
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by gracinet):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Done !

  * in NXLucene server [50555] (inadvertantly checked in as ogrisel). Works
 also for purely negative queries.
  * in nuxeo.lucene, this uses the standard 'condition' key of the
 search_fields dicts
  * CPSLuceneCatalog API [50556] is, e.g, ``searchResults(status={'query':
 'hidden', 'insert_condition': 'NOT'})`` to get all docs whose status index
 doesn't match 'hidden'.
     Will also forward other conditions, like 'OR'
  * in CPSDashboards [50557]: all filter widgets now have a
 "insertion_boolean_op" to leverage this (useful with Lucene Catalog Widget
 only, at this point). "internal_boolean_op" is planned, but wouldn't be
 transmitted down the stack.

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1796>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



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