For your application, you may have auto-suggest (or call auto-complete) feature in searching field, such as https://jqueryui.com/autocomplete/#remote .   When user enters two or more than two characters, it will trigger auto-complete action, and remote lookup external web API, which returning list of data in JSON format. So, for example, your application can query SOLR