GenomicsStandardsConsortium / mixs

Minimum Information about any (X) Sequence” (MIxS) specification
https://w3id.org/mixs
Creative Commons Zero v1.0 Universal
38 stars 21 forks source link

Strategies to improve search capabilities on MIxS documentation site #695

Closed sujaypatil96 closed 10 months ago

sujaypatil96 commented 11 months ago

Trying out different search configuration options provided by mkdocs: https://www.mkdocs.org/user-guide/configuration/#search

sujaypatil96 commented 11 months ago

To see if we need to enforce a minimum length for search query/string: https://www.mkdocs.org/user-guide/configuration/#min_search_length look through the schema and calculate a distribution of the lengths of all slots and classes in the schema.

Note: ph might be the only 2-character term.

sujaypatil96 commented 11 months ago

Should we add parantheses as a splitting character: https://www.mkdocs.org/user-guide/configuration/#separator

sujaypatil96 commented 10 months ago

The configurability options provided by the mkdocs framework for the search plugin are:

Option Action Modified/default
separator modified to '[\s\-\:\(\)]+' modified
min_search_length using default 3-character minimum default
indexing full default
pre_build_index disabled default
lang default default