openculinary / knowledge-graph

The RecipeRadar knowledge graph stores and provides access to recipe and ingredient relationship information.
GNU Affero General Public License v3.0
10 stars 0 forks source link

Query processing: retain original query text formatting #39

Closed jayaddison closed 4 years ago

jayaddison commented 4 years ago

Describe the reason for these changes and the problem that they solve

Often the contextual description of ingredients may contain useful information that will be useful for users to refer to. While adding markup to the results we should also retain the original text formatting where possible.

Briefly summarize the changes

  1. Update to a version of hashedixsearch that supports highlighting with retained text formatting

How have the changes been tested?

  1. Some test coverage has been updated to check the formatting functionality
  2. Existing test coverage continues to pass