Is there a way of getting all the unique keyword index i.e. Subject in Plone by querying the catalog?
我一直在使用this作为指南,但尚未成功。
这是我迄今为止所做的事情。
def search_content_by_keywords(self):
"""
Attempting to search the catalog
"""
catalog = self.context.portal_catalog
query = {}
query[ Subject ] = Someval
results = catalog.searchResults(query)
return results
我不想通过关键词,而是想 all所有关键词。