add loops_keywords index to test set up

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3884 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-06-04 07:07:25 +00:00
parent 540dc3de0e
commit ec0516ad74

View file

@ -177,6 +177,7 @@ class TestSite(object):
catalog['loops_text'] = TextIndex('text', IIndexAttributes, True)
catalog['loops_identifier'] = FieldIndex('identifier', IIndexAttributes, True)
catalog['loops_type'] = FieldIndex('tokenForSearch', IType, False)
catalog['loops_keywords'] = KeywordIndex('keywords', IIndexAttributes, True)
catalog['loops_state'] = KeywordIndex('tokens', IStatefulIndexInfo, False)
component.provideAdapter(ConceptIndexAttributes)
component.provideAdapter(ResourceIndexAttributes)