Design & implement a "Results for ______" above search results
Use a similar component to Portals to show the results
Allow the user to clear results with the control
this is clearly a larger issue that has further considerations, specifically around the main Synapse Search. will likely take it out of the Entity Finder project, tbc with
In portals, the analogous feature is a visualization of a table (SQL-like) query. In the entity finder, we’re using the search API, which works differently, so this component shouldn’t necessarily work the same.
For instance, we actually break up each term in the query to create the search request (i.e. there isn’t a huge difference between searching for “hello world” and “world hello”). Do we show these as individual terms, or as one long term?
The Search API also supports boolean operators. Those aren’t being used in the entity finder at this time, but this type of feature should probably take it into account.
Also, we should think about whether we want this new component in the main Synapse Search.