NUKnightLab / cityhallmonitor

MIT License
0 stars 0 forks source link

disable quoted string exact search. #145

Closed JoeGermuska closed 8 years ago

JoeGermuska commented 8 years ago

As #143 turned up, performance isn't the only hitch with exact string matching. I'll disable special handling of quoted strings and look into whether we can pass information back saying "we see what you're trying to do but don't bother"

JoeGermuska commented 8 years ago

so before disabling it, I looked into getting faster results and found something which seems to help.

With that in hand, I simply tokenized the exact phrase so that we had something that could go through the relevance ranking algorithm. So now, quoted string searches work and we can sort those results by relevance and date and back to relevance again.