use new field cache so we can ignore html in std search

This commit is contained in:
Damien Elmes 2010-10-27 21:22:29 +09:00
parent 731c4100f9
commit 46ba2db87a

View file

@ -2635,7 +2635,7 @@ select id from cards where answer like :_ff_%d escape '\\'""" % c
token = token.replace("*", "%") token = token.replace("*", "%")
args["_ff_%d" % c] = "%"+token+"%" args["_ff_%d" % c] = "%"+token+"%"
fquery += """ fquery += """
select factId from fields where value like :_ff_%d escape '\\'""" % c select id from facts where spaceUntil like :_ff_%d escape '\\'""" % c
return (tquery, fquery, qquery, fidquery, cmquery, sfquery, return (tquery, fquery, qquery, fidquery, cmquery, sfquery,
qaquery, showdistinct, filters, args) qaquery, showdistinct, filters, args)