inveniosoftware / invenio-records-rest

Invenio records REST API module.
https://invenio-records-rest.readthedocs.io
MIT License
4 stars 63 forks source link

global: highlights support #137

Open jma opened 7 years ago

jma commented 7 years ago

Adding highlights fields support by adding specific configuration entry.

lnielsen commented 7 years ago

ES reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html

ES-DSL: http://elasticsearch-dsl.readthedocs.io/en/latest/search_dsl.html#highlighting

Records-REST: Probably just have to be plugged in default_search_factory similar to how default_facets_factory is plugged.