]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/api/search/test_token_assignment.py
remove support for unindexed tokens
[nominatim.git] / test / python / api / search / test_token_assignment.py
index 884d29328380323d08749964046d951f8c37f999..0d89ed5f522cee983acc5c437ef2bc28ee2e6af3 100644 (file)
@@ -20,7 +20,7 @@ class MyToken(Token):
 def make_query(*args):
     q = QueryStruct([Phrase(args[0][1], '')])
     dummy = MyToken(penalty=3.0, token=45, count=1, addr_count=1,
-                    lookup_word='foo', is_indexed=True)
+                    lookup_word='foo')
 
     for btype, ptype, _ in args[1:]:
         q.add_node(btype, ptype)