Is it possible to make a search query using multiple queries all at once?
Ex: if I wanted to present all games in wishlist, recommended, multiple copies and dlc all at the same page, using some kind of OR operator in the query?
"https://www.steamgifts.com/giveaways/search?type=wishlist|type=recommended|copy_min=2|dlc=true" would be the intuitive way, but it doesn't work.

2 months ago*

Comment has been collapsed.

2 months ago
Permalink

Comment has been collapsed.

I see, thank you for letting me know!

2 months ago
Permalink

Comment has been collapsed.

You can use AND though, here is a page about the available search parameters - https://www.steamgifts.com/discussion/1kgzB/new-search-parameters

2 months ago
Permalink

Comment has been collapsed.

Thanks for the link! The search parameters are really useful too.

2 months ago
Permalink

Comment has been collapsed.

question (just curiosity): why AND and not OR? cg decided it?

thank you!

2 months ago
Permalink

Comment has been collapsed.

I have no idea! :)
I was not a mod then, but I guess cg decided it or it was based on website functionality. I'll see if anyone else knows and respond here if I get an answer

2 months ago
Permalink

Comment has been collapsed.

I think OR can be too heavy for queries

2 months ago
Permalink

Comment has been collapsed.

lllove this. i've also tried to think why OR should be heavier than AND but my humble mind won't help much... so, asked Gemini!

"in Web Search, the AND operator generally requires more resources than the OR operator.

This is because:

AND narrows the search: The AND operator requires that all search terms be present in the results. This means the search engine must examine a larger number of documents to find those that meet this stricter condition.

OR broadens the search: The OR operator requires that at least one of the search terms be present. This gives the search engine more flexibility and can lead to a larger set of results, which can be identified more quickly."

he also added that it might depends on index too, and i think this could be the reason behind the missing OR :D

2 months ago
Permalink

Comment has been collapsed.

Unless you're dealing with an older site that uses a SQL backend, hierarchical nodes, or some programmatic solution, rather than searching the kind of indexed documents Gemini's answer assumed. If you're looking for this AND that AND the other, every time it isn't this, you don't have to look for that or the other, meaning fewer records to search for, not a larger number.

2 months ago
Permalink

Comment has been collapsed.

Also, that says "in Web Search," which is generally asking a search engine to find you any matching public document on the entire internet that can be accessed with the HTTP protocol.

Not something that translates directly to searching an internal database of giveaways here on SG.

2 months ago
Permalink

Comment has been collapsed.

As @Xeloses stated, OR isn't supported out of the box:

Sign "&" in the URL address used as parameters delimiter, not as "logical AND".

2 months ago
Permalink

Comment has been collapsed.

thanks. a. ton.

that lil' & was something didnt understood, days ago. 'n' now i know!

2 months ago
Permalink

Comment has been collapsed.

I am willing to go out on a long limb (tongue-in-cheek) and say that there are others who would like to see "wishlist (true or false)" in that list.

2 months ago
Permalink

Comment has been collapsed.

Basically boolean algebra (with operators: AND, OR, NOT): https://en.wikipedia.org/wiki/Boolean_algebra

2 months ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.