CDRH / api

Codenamed "Apium": An API to access all public Center for Digital Research in the Humanities resources
https://cdrhdev1.unl.edu/api_frontend
MIT License
3 stars 1 forks source link

hl_chars and hl_num implementation #35

Closed jduss4 closed 7 years ago

jduss4 commented 7 years ago

In order to override default highlighting settings of 100 characters and 3 hits, we should allow two more parameters through.

jduss4 commented 7 years ago

Will need to verify that orchid / api_bridge are set up to allow these to be defaulted / overridden

jduss4 commented 7 years ago

orchid seems fine, we could put a default value in the api_bridge but since the API itself is defaulting to hl_num 3 and hl_chars 100 I'm not worried about it!

jduss4 commented 7 years ago

https://github.com/CDRH/api/commit/88bd47902f910625b5d7d700cb1c493234a4b091