added catalog package with a simple variation of hurry.query and a keyword index

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2554 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2008-04-26 16:50:57 +00:00
parent 19b4ef8b86
commit 0cfe7f951f

View file

@ -189,6 +189,7 @@ Text Index Queries
>>> t1 = ('', 't1') >>> t1 = ('', 't1')
>>> displayQueryWithScores(Text(t1, 'interesting')) >>> displayQueryWithScores(Text(t1, 'interesting'))
[(6, 0.149...)] [(6, 0.149...)]
>>> displayQueryWithScores(Text(t1, 'interesting') & Eq(f1, 'Y')
Keyword Index Queries Keyword Index Queries