Hi, thx for your answers.

Yes i think i use 0-9-1

Now i use 0-9-3.


hum should be fine then. What kind of field and analyzer do you use for
allowedRolesAndUsers ?


It was cool to have a matrix anything like that:


ZCATALOG     |     LuceneCatalog - Analizer
--------------------------------------------
TextIndex    |     Text       -  'Standard'
KeywordIndex |     Keyword    -  'Standard'
...

For the allowedRolesAndUsers i use this statement:

pcat.addField(name='allowedRolesAndUsers',attribute='allowedRolesAndUsers',type='Keyword',analyzer='Standard')

Unfortunataly it doesen´t work. The log in NXLucene says:

2006-07-31 16:40:46,875 - NXLucene.core - INFO - xmlrpc_searchQuery....
2006-07-31 16:40:46,876 - NXLucene.core - DEBUG - xmlrpc_searchQuery : search_fields=(u'review_state', u'Subject', u'allowedRolesAndUsers', u'getEventType', u'getRawRelatedItems', u'Title', u'Creator', u'Description', u'SearchableText', u'Type', u'getId', u'getObjPositionInParent', u'id', u'in_reply_to', u'is_default_page', u'meta_type', u'is_folderish', u'portal_type', u'sortable_title', u'Date', u'created', u'effective', u'expires', u'end', u'effectiveRange', u'modified', u'start', u'path', u'ModificationDate') search_options=({'analyzer': u'Standard', 'value': u'Manager#Authenticated#Anonymous#user:cklinger', 'usage': '', 'type': u'Keyword', 'id': u'allowedRolesAndUsers', 'condition': u''}, {'analyzer': u'Standard', 'value': u'cklinger', 'usage': '', 'type': u'text', 'id': u'Creator', 'condition': u''}) and search_options={'start': '0', 'size': '100'} 2006-07-31 16:40:46,878 - NXLucene.core - DEBUG - Using analyzer of type [EMAIL PROTECTED] for field Creator 2006-07-31 16:40:46,878 - NXLucene.core - DEBUG - query +(allowedRolesAndUsers:Manager allowedRolesAndUsers:Authenticated allowedRolesAndUsers:Anonymous allowedRolesAndUsers:user:cklinger) +Creator:cklinger
2006-07-31 16:40:46,879 - NXLucene.core - DEBUG - Request sort-order is None
2006-07-31 16:40:46,880 - NXLucene.core - INFO - Number of results 0
2006-07-31 16:40:46,881 - NXLucene.core - INFO - Time to find return results 0.00175809860229 2006-07-31 16:40:46,881 - NXLucene.core - INFO - Time to construct the RSS query 0.0001220703125


Do you know whats going on?


Thx christian


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to