Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-07-02 22:08:14 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-07-02 22:08:14 (GMT)
commit3169430c8328ec46baccebe1b36ed828fd45e7cc (patch)
tree54266266dd86722fdc3be84d9bdde4a4571469cd /tests
parent3292e2d69186bbabe222f7fe55d6f2099bce4ce5 (diff)
fulltext on 'text' type properties
different from strings in that their contents are implictly available in the fulltext search which is the DBUS 'fulltext' parameter to search see tests/query.py for examples
Diffstat (limited to 'tests')
-rw-r--r--tests/query.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/query.txt b/tests/query.txt
index 8ea9d28..9a16eca 100644
--- a/tests/query.txt
+++ b/tests/query.txt
@@ -237,16 +237,16 @@ string its contents will be available to the text indexing engine as
well.
Searching for a direct match on the property works.
->>> #qm.find(title="titled indeed") == ([a], 1)
+>>> qm.find(title="titled indeed") == ([a], 1)
True
Doing a search for text internal to the title doesn't however.
->>> #qm.find(title="indeed") == ([a], 1)
+>>> qm.find(title="indeed") == ([a], 1)
False
Searching for it in the fulltext index does return a result.
->>> #qm.find(fulltext="indeed") == ([a], 1)
+>>> qm.find(fulltext="indeed") == ([a], 1)
True