algorithm-archive
algorithm-archive copied to clipboard
Search doesn't provide related results, maybe use tags?
I discovered that the search we're currently using for the AAA doesn't provide results related to the search term.
If I'm searching for geometry for example, I get the expected chapter Computational Geometry.

I don't get the sub-chapters of Computational Geometry however.

I thought that we can maybe add a tag system to the AAA. I.e. adding tags to each chapter, so that the search functionality also catches chapters related to the search term. I know that it's not ideal however, since the AAA might get restructured and we can only guess, what terms people will use to search the AAA.
So what are your opinions on that? Do you like the tag system, do you have better ideas like another system, search engine, etc.?
How might the tag system be implemented, exactly?
We could simply add words, that describe the algorithm, to the markdown file. So the Jarvis March chapter would have the tag Computational Geometry in it's file. That way Jarvis March would show up when searching for Computational Geometry.
We can than add many tags of course, like physics, sorting etc.
A point to discuss would be, how we want to implement the tags. Either put them somewhere visible in the markdown file, where they can be read and discovered by the user or just add them in an invisible way somehow.
There has been some discussion about adding in additional search capabilities. For example, it would be nice to be able to find a class of algorithms and then further sort the class based on their big-O complexity.
This is a feature that would be hard to implement with the current gitbook, but it is a good idea.
Is this issue still in the works?
Yeah, I actually had a partial fix implemented last week