ycba-cia / blacklight-collections2

5 stars 2 forks source link

Multiple collections search #76

Open edgartdata opened 5 years ago

edgartdata commented 5 years ago

The current Vufind allows for search for Constable for example in all the YCBA collections at once by adding them to the search from the Collection facet. Can we implement this again please?

edgartdata commented 5 years ago

@flapka @KraigBinkowski agree with me on this. Good to implement.

edgartdata commented 5 years ago

@yulgit1 Is this something difficult to achieve with BlackLight?

yulgit1 commented 5 years ago

@edgartdata - yes unfortunately. You can make to have multiple facets selected, but they are an implicit AND so won't work. In solr directly this can be done with filter queries, but that is not implemented in the blacklight faceting framework.

Of course just doing a search will search all collections, but if you're trying to, for example, look for something in both paintings and the reference library, you'd have to try each in the collection facet one at a time as separate queries.

Something to explore time permitting is something in blacklight that looks like a facet but is implemented like a filter query (fq)