Bookworm-project / BookwormAPI

An API implementing a grammar for text analysis
MIT License
13 stars 1 forks source link

Return books in searches when no words are specified #2

Open bmschmidt opened 11 years ago

bmschmidt commented 11 years ago

For a search that's simply about volumes example, we want to be able to return a book list when a query is run.

A query that should return a (randomized?) list of books, for example, is:

{"method":"search_results","words_collation":"All_Words_with_Same_Stem","groups":["year","library"],"database":"presidio","counttype":["TextCount","WordCount"],"search_limits":{"year":["1874"],"library":["Francis A. Countway Library of Medicine"]},"plotType":"heatMap","aesthetic":{"color":"TextCount","size":"WordCount","filterByTop":"WordCount"}}