Page 1 of 1

Searching forum is PITA for modders

Posted: Thu Sep 08, 2016 12:44 pm
by aubergine18
The forum search feature treats underscore and hyphen chars as if they were spaces delimiting separate search keywords. Lots and lots of stuff in the modding API uses underscore and hyphen... So when we try and search for anything like that, the forum splits our search term in to separate keywords, and then searches for anything with those keywords = quintillions of bogus search results, even if we set it to "all terms or query as entered".

Would it be possible to tweak the forum search engine so it treats _ and - as normal chars? I imagine this would also need to be applied to the indexing routine as well :/ It would make searching for specific properties, types, etc., much, much easier.

EDIT: Just found that enclosing search term in double quotes seems to give much better results... Maybe some JS could be added to search form so that on submit if it sees any char sequences with - or _ (but not spaces) it encloses them in quotes?

Re: Searching forum is PITA for modders

Posted: Thu Sep 08, 2016 6:33 pm
by Adil
For me, limiting the search range to modding discussion board seems to work tolerable most of the time.

Re: Searching forum is PITA for modders

Posted: Tue Sep 13, 2016 8:21 am
by ssilk
See eventually viewtopic.php?f=55&t=19792 Search engine for FFF

For me this is a sign, that modders should use the mods.factorio.com instead. This is also the featured idea, that the devs push.

Re: Searching forum is PITA for modders

Posted: Wed Sep 21, 2016 1:21 pm
by Adil
ssilk wrote:For me this is a sign, that modders should use the mods.factorio.com instead.
A quasi-forum with more basic features absent? Ugh, no. It seems to that here the search over the modding discussion/help threads is considered.
Does it have a search over discussions at all?

Re: Searching forum is PITA for modders

Posted: Wed Sep 21, 2016 7:24 pm
by ssilk
Go into a discussion, use the search and you will find those posts with the keywords in.

Re: Searching forum is PITA for modders

Posted: Wed Sep 21, 2016 7:46 pm
by aubergine18
It's good to know that mods.factorio.com discussions can be searched. However, that has nothing to do with searching forums.factorio.com for posts containing specific API terms.

Re: Searching forum is PITA for modders

Posted: Wed Sep 21, 2016 10:11 pm
by DaveMcW
Have you tried "site:forums.factorio.com" in Google?

Re: Searching forum is PITA for modders

Posted: Thu Sep 22, 2016 12:09 am
by aubergine18
Yes, but most of the time it doesn't fare much better (particularly due to hyphenated prototype names common in Factorio). In particular, I don't know how to limit Google searches to a specific subset of the forums (eg. the 4 modding discussion/help forums). Also, it's somewhat inconvenient to jump out to google.