PASTAplus / web-x

The EDI Website Project
Apache License 2.0
1 stars 1 forks source link

Add context to website search results #17

Open clnsmth opened 2 years ago

clnsmth commented 2 years ago

The website search results return the source filename in title case. Providing more context with the search result would be helpful for users in deciding which page to open.

One option is to list a fixed number of characters before and after the search term, which would be highlighted in bold. For example the search "evaluating a data package" would return a search result of:

Evaluating a Data Package Evaluating a data package is key to ensuring that it contains a valid, well-formed EML ...