Certain characters are illegal
alexslade opened this issue · comments
I've noticed things like *-. are special characters, should they be filtered out by tanker automatically?
Probably! I dont know the character that should be filtered. If you could ask the tanker guys we could add them
Could you help me out on this?
Yea sure, I'll find out what needs to be filtered and stick in a patch.
any news in this front?
I spoke to the dev team, only * is a special character, but a search of '-' still fails with this error:
"Invalid query: title:(-) OR items:(-) OR __any:(-) __type:("List")"
So I assume it's something to do with how Tanker conducts the search? Any ideas?
I have the same problem and the live dev chat at IndexTank tells me none of those are illegal, but that the client isn't interpreting them correctly from the URL
Sorry I have not been able to adress this issues. Its been a couple of very busy weeks! I will into this during the week. If you have an idea on how to fix this please go ahead! I will merge your pull request
Can you help me with debugging the issue. can you look for the line on tanker.rb that reads
results = index.search(query, options)
SearchState.new(results, fetch, snippets, paginate)
and debug or output the generated query?