"OR" operator for tags search?

Go down

Solved "OR" operator for tags search?

Post by Jassu L. April 1st 2021, 7:01 pm

Hi!

I have been playing with the advanced search feature of my forum and exploring the possibilities in it.

When searching with regular keywords (in other words, the keywords you want to find from topic titles), writing multiple words to the keywords box returns all the topics containing ANY of the given words. That means if your keywords were e.g. "apple banana", you will have a list of topics with titles containing either apple, banana, or both of them, so the space between the words operates as an "OR" operator. Which is awesome!

However, when doing the same search on tags, a.k.a. hashtags search, searching for "apple banana" returns posts with BOTH the tag # apple and # banana, but not those posts that contain only # apple or only # banana. So in the case of hashtags, the space between the words operates as an "AND" operator. Which is not what I want.

Summa summarum, I am looking for a way to put an "OR" operator in the search box when searching for hashtags, which would allow me to find posts containing any of given hashtags and not necessarily all of them at the same time.
Is it possible to search for posts containing any of the given search terms, when searching for hashtags? It clearly is possible when searching for keywords in topic titles, so why is the functionality different when searching for hashtags?

Thank you in advance!


Last edited by Jassu L. on April 2nd 2021, 5:19 pm; edited 1 time in total
Jassu L.
Jassu L.
New Member

Female Posts : 22
Reputation : 1
Language : Finnish
Location : Finland

View user profile http://shelyes.palstani.com

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by skouliki April 1st 2021, 8:11 pm

hello


with the advanced package, you have an extended search option

see here https://help.forumotion.com/t155626-extended-search#1070899
skouliki
skouliki
Manager
Manager

Female Posts : 10883
Reputation : 1370
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by SLGray April 1st 2021, 9:55 pm

One why you can do this is by following tags in your profile.


"OR" operator for tags search? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 49069
Reputation : 3418
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by Jassu L. April 1st 2021, 10:23 pm

Hi, and thanks for the replies!

@skouliki I know that it is possible with the extended search, but I am just trying to find if it would be possible with the advanced search of the current free package in some way before considering to upgrade it. Thanks anyways :-)

@SLGray Thank you for the information, could you specify that a little bit more? Are you saying that by following the hashtags in my profile, I would be able to get all of the posts containing any of my followed hashtags to appear for example on a same search result page in some way? Or do I still have to view the posts "one hashtag at a time"?
Jassu L.
Jassu L.
New Member

Female Posts : 22
Reputation : 1
Language : Finnish
Location : Finland

View user profile http://shelyes.palstani.com

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by SLGray April 2nd 2021, 12:11 am

"OR" operator for tags search? Tags11


"OR" operator for tags search? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 49069
Reputation : 3418
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by The Godfather April 2nd 2021, 9:36 am

Hello

You can try these advanced search commands and operator on your forum but it only works for search on the topics titles (you can try for the tags):

Place + in front of a word which must be found and - in front of a word which must not be found. Put a list of words separated by | into brackets if only one of the words must be found. Use * as a wildcard for partial matches.

For instance: https://s1000rr.motards.net/search?search_keywords=s1000RR+-2020
The Godfather
The Godfather
Administrator
Administrator

Posts : 3992
Reputation : 711

View user profile

TonnyKamper and pedxz like this post

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by Jassu L. April 2nd 2021, 5:19 pm

Hello!

Thank you for the replies!

@SLGray I am afraid I didn't get my point through, as I was looking for a way to display search results for multiple hashtags on a same page at the same time. Obviously the following via profile feature does not differ in any way from searching hashtags one at a time and therefore, it doesn't meet my needs. :-(

@The Godfather Thank you for the useful information! However, none of the operators (+/- and *) seem to work with the hashtag search which is unfortunate.

I assume getting an "or" operator for hashtag search isn't possible in Forumotion, and the only option would be to upgrade my package to get the extended search feature where I could access multiple hashtags with the same search by searching through message contents. It's a shame, but no can do.

I'll mark this as solved.
Jassu L.
Jassu L.
New Member

Female Posts : 22
Reputation : 1
Language : Finnish
Location : Finland

View user profile http://shelyes.palstani.com

Back to top Go down

Solved Re: "OR" operator for tags search?

Post by SLGray April 2nd 2021, 7:03 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


"OR" operator for tags search? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 49069
Reputation : 3418
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum