algorithm-archive icon indicating copy to clipboard operation
algorithm-archive copied to clipboard

Search doesn't provide related results, maybe use tags?

Open june128 opened this issue 7 years ago • 5 comments

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. screen shot 2018-05-03 at 17 02 25_aaa_search_geometry

I don't get the sub-chapters of Computational Geometry however. screen shot 2018-05-03 at 17 02 54_aaa_computational_geometry

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.?

june128 avatar May 03 '18 15:05 june128

How might the tag system be implemented, exactly?

leios avatar May 12 '18 22:05 leios

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.

june128 avatar May 13 '18 01:05 june128

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.

leios avatar Jun 28 '18 20:06 leios

Is this issue still in the works?

Amaras avatar Sep 08 '21 21:09 Amaras

Yeah, I actually had a partial fix implemented last week

leios avatar Sep 08 '21 22:09 leios