Wordseer / wordseer

The WordSeer text analysis tool, written in Flask.
http://wordseer.berkeley.edu/
40 stars 16 forks source link

grammaticalsearch results needs to handle more than one query input #135

Open macfarlandian opened 10 years ago

macfarlandian commented 10 years ago

in PHP, see grammaticalsearch/get-search-results.php, lines 16 & 194 - there is no provision made for retrieving more than 1 item from the search array, it just fails to run a query if there is more than one.

it shouldn't.

other widget endpoints (eg, word frequencies) accept multiple search items, so look there for guidance.

Related JS issue: https://github.com/Wordseer/wordseer_extjs/issues/37

macfarlandian commented 9 years ago

Update: it is currently still the case that only the Metadata Profile API endpoint can handle these queries (i.e., those sent by "In Current Tab" option from the UI)

For now we contextually disable that UI element, but a better solution would be to handle the queries consistently and create clear AND / OR query options.

Requires some UX work before implementation.

macfarlandian commented 9 years ago

Some early ideas:

using a separate search field to create comparison queries matrix views-06

a bucket of "active queries" that can be combined or compared interface ideas-03 interface ideas-04