jameslittle230 / stork

🔎 Impossibly fast web search, made for static sites.
https://stork-search.net
Apache License 2.0
2.73k stars 56 forks source link

Search result grouping by a key (e.g. version number) #90

Open korshavn opened 3 years ago

korshavn commented 3 years ago

Hi. I would love to have some influence of groupings of the search result, for example by page version or sub-tree.

The best example I can show is from the docs.antora.com search result panel:

search-result-sample

The search result in the picture above is nicely arranged under a key, in this case the Antora version. For stork, this key could be specified in the document object in the configuration file.

jameslittle230 commented 3 years ago

I'd definitely like to enhance the search results view at some point, and custom groupings seem like a solid enhancement when I get there. ~I'm closing the issue as per Stork's feature request policy, but~ I'll put this on my list and build this eventually!

Edit: Reopening the issue so you can have visibility when I get to it :)