Hi guys,<br><br>Mikel and me are testing some zope3 features in the camp5 sprint in North Carolina and have seen an strange behaviour on the setindex.<br><br>the &#39;all_of&#39; query performs an intersection of the results got for each value in the query.
<br>But whe one of the values takes no results, the &#39;values_to_documents.get(v)&#39; returns None and the IFBTree.intersection() of &#39;anytree&#39; with None returns &#39;anytree&#39;.<br><br>We think that should return an empty tree instead. ¿?
<br><br>Here you have a patch to include this use case in the tests and another patch to implement this feature:<br><br><a href="http://www.nandoquintana.com/ftp/pub/setindex.txt.patch">http://www.nandoquintana.com/ftp/pub/setindex.txt.patch
</a><br><a href="http://www.nandoquintana.com/ftp/pub/index.py.patch">http://www.nandoquintana.com/ftp/pub/index.py.patch</a><br><br>Bye,<br>Nando.<br>