First time here? Check out the FAQ!
1

Askbot search functions

Hello!

I am curious if it is possible to specify searches in askbot to "and" instead of "or".

For example: I want to search for banana milkshakes recipes. Atm I get separate search results for banana related recipes and milkshake related recipes.

Is there any way to specify searches for only banana milkshakes, and not related posts?

This analogy is not perfect, but hopefully you understand my question.

If there isn't already a way to specify searches like this - is there a way to change this back end?

Thanks for reading,

Henrik

henriksahlin's avatar
21
henriksahlin
asked 2021-12-03 02:27:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Enter tag name in square brackets, those will be applied with and "AND" logic, e.g. "[banana] [strawberry] milkshake", this will return questions matching text milkshake, tagged both "banana" and "strawberry".

Full text search works by matching whole input to the text and using "AND" operator on all words will cause too few if any search results.

Evgeny's avatar
13.2k
Evgeny
answered 2021-12-06 10:39:12 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks a lot Evgeny. What impressive dedication to this forum, after so many years. Thank you.

henriksahlin's avatar henriksahlin (2021-12-07 01:26:42 -0500) edit

Is there any way to use this bracket method for anything but tags? Tag searching can already be achieved by clicking "tagging".

henriksahlin's avatar henriksahlin (2021-12-07 02:03:59 -0500) edit

No, the brackets search just by the tags.

Evgeny's avatar Evgeny (2021-12-08 08:48:52 -0500) edit
add a comment see more comments