Open babslgam opened 1 month ago
Ideally, the search would offer filter options like these:
Results would be displayed differently: from Text (Textzeugen and Darstellungen) as a KWIC, from indices and comments just index entry/comment title. What do you think, @linxOD ?
Adding this filter options as facets and combining them with the kwic search shouldn't be an issue. So far I haven't indexed indices and comments seperatly but with some extra metadata this could be achived. Manipulating how the hits look like based and the document style must be tested but could be possible.
A basic typesense search has been implemented. https://karl-kraus.github.io/wpn-static/suche.html
typesense only returns one snippet per match per paragraph but the full paragraph (page) plus marks with relevant hits. Therefore i implemented experimental clientside kwic generation (plus linking to relevant position in the text). This is only very basic and needs further development.
Please have a look at the search ui in the other static editions and discuss with Daniel what the search features should look like (regarding kwic and also faceted search/ui widgets).