Closed emylonas closed 8 years ago
If you don't specify a field in a solr query, it searches a default field for the value you specified. Usually this is set to be a non-stored or aggregate field that includes many parts of the document, but isn't returned as part of search results--it's basically used to make the front-facing search box on the BDR site or other search pages. So typing in "buonanno" to the search page on the bdr here, is basically equivalent to the query "ir_collection_id:621 AND buonanno" in the API.
You could use this to make a pretty complete search page for annotations by making queries like this one: https://repository.library.brown.edu/api/pub/search/?q=ir_collection_id:621+object_type:annotation+display:BDR_PUBLIC+gothorum
Done with #165
It would be great to be able to search the annotations. The fields that make sense are Title, Abstract, and Inscriptions.