added evergreen as another example
[wiki.git] / search / faceted.mdwn
1 [[!toc levels=3]]
2
3 Open source applications with faceted search
4
5 ## Astrophysics Data System (ADS)
6
7 http://labs.adsabs.harvard.edu/adsabs/search/ is a webapp (Flask) that uses faceted search (with Solr) and is open source: https://github.com/adsabs/adsabs
8
9 - https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/views.py
10 - https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/forms.py
11 - https://github.com/adsabs/adsabs/blob/master/adsabs/core/solr/request.py
12 - https://github.com/adsabs/adsabs/blob/master/adsabs/core/solr/response.py
13 - https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/templates/search_results.html
14 - https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/templates/facets_sublevel.html
15
16 ### Faceted search example
17
18 Search for "jupiter"
19
20 http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter
21
22 Under Authors, click "Clarke, J"
23
24 http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J
25
26 Under Authors, click "Gerard, J"
27
28 http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J&aut_f=0%2FGerard%2C+J
29
30 Under Keywords, click "hydrogen"
31
32 http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J&aut_f=0%2FGerard%2C+J&key_f=hydrogen
33
34 ## Evergreen ILS (Integrated Library System)
35
36 http://evergreen-ils.org
37
38 - https://github.com/evergreen-library-system/Evergreen/blob/tags/rel_2_2_7/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
39 - https://github.com/evergreen-library-system/Evergreen/blob/tags/rel_2_2_7/Open-ILS/src/templates/opac/parts/result/facets.tt2
40
41 ### Faceted search example
42
43 Search for "pirates"
44
45 http://newburyport.mvlc.org/eg/opac/results?query=pirates
46
47 Under Topic Subject, click  "History"
48
49 [http://newburyport.mvlc.org/eg/opac/results?query=pirates;facet=subject|topic[History]](http://newburyport.mvlc.org/eg/opac/results?query=pirates;facet=subject|topic[History])
50
51 Under Geographic Subject, click "Caribbean Area"
52
53 [http://newburyport.mvlc.org/eg/opac/results?query=pirates;facet=subject|topic[History];facet=subject|geographic[Caribbean%20Area]](http://newburyport.mvlc.org/eg/opac/results?query=pirates;facet=subject|topic[History];facet=subject|geographic[Caribbean%20Area])