Commit f0555a5e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use DefaultKey as a base class of FullTextKey.

so that it supports other comparison operators like '>', 'like' etc.
parent 6e76d013
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
# #
############################################################################## ##############################################################################
from DefaultKey import DefaultKey
from SearchKey import SearchKey from SearchKey import SearchKey
from Products.ZSQLCatalog.Query.SimpleQuery import SimpleQuery from Products.ZSQLCatalog.Query.SimpleQuery import SimpleQuery
from Products.ZSQLCatalog.SearchText import parse from Products.ZSQLCatalog.SearchText import parse
...@@ -36,7 +37,7 @@ from zope.interface.verify import verifyClass ...@@ -36,7 +37,7 @@ from zope.interface.verify import verifyClass
import re import re
class FullTextKey(SearchKey): class FullTextKey(DefaultKey):
""" """
This SearchKey generates SQL fulltext comparisons. This SearchKey generates SQL fulltext comparisons.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment