searx / searx

Privacy-respecting metasearch engine
https://searx.github.io/searx/
GNU Affero General Public License v3.0
13.39k stars 1.71k forks source link

allow !bangs and :language in any order #1142

Open thiswillbeyourgithub opened 6 years ago

thiswillbeyourgithub commented 6 years ago

Hi,

It seems like when typing pasta !videos :it and !videos :it pasta, only the second form will be recognized as looking for italian videos. It would be great to allow any order for !bangs and for the :langage shortcut.

It is frequent for me to think of the langage and domains (videos or images) only after figuring out which keywords to look for so it makes more sense to add them at the end for me.

What do you think of this ? :) awesome work on searx btw

jibe-b commented 6 years ago

This issue seems to be solved:

!wp :en searx

image

:en !wp searx

image

thiswillbeyourgithub commented 6 years ago

Well, you can apparently put language or bang first in any order but :en searx !go doesn't work as expected.

I'd like to be able to type my keywords and then append a seach bang at the end if I want to.

jibe-b commented 6 years ago

ok, I read too fast.

I'll let @asciimoo or others solve this ;)