Open wesleybl opened 7 months ago
Searches with "not" in a KeywordIndex do not return records that do not contain a value for the index. For example, Plone's index Subject.
KeywordIndex
See this issue: https://github.com/plone/Products.CMFPlone/issues/3895
return str(context.portal_catalog(Subject={"not": ["Bulletin"]}))
The search must return all content that does not contain the "Bulletin" Subject. Including objects that do not have any Subject.
Content that does not have a Subject is not returned.
Zope 5.9 Python: 3.11
BUG/PROBLEM REPORT / FEATURE REQUEST
Searches with "not" in a
KeywordIndex
do not return records that do not contain a value for the index. For example, Plone's index Subject.See this issue: https://github.com/plone/Products.CMFPlone/issues/3895
What I did:
What I expect to happen:
The search must return all content that does not contain the "Bulletin" Subject. Including objects that do not have any Subject.
What actually happened:
Content that does not have a Subject is not returned.
What version of Python and Zope/Addons I am using:
Zope 5.9 Python: 3.11