new file: search/faceted.mdwn
authorPhilip Durbin <philipdurbin@gmail.com>
Thu, 21 Mar 2013 19:16:08 +0000 (15:16 -0400)
committerPhilip Durbin <philipdurbin@gmail.com>
Thu, 21 Mar 2013 19:16:08 +0000 (15:16 -0400)
search/faceted.mdwn [new file with mode: 0644]

diff --git a/search/faceted.mdwn b/search/faceted.mdwn
new file mode 100644 (file)
index 0000000..96e15a6
--- /dev/null
@@ -0,0 +1,26 @@
+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/tree/master/adsabs
+
+- https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/views.py
+- https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/forms.py
+- https://github.com/adsabs/adsabs/blob/master/adsabs/core/solr/request.py
+- https://github.com/adsabs/adsabs/blob/master/adsabs/core/solr/response.py
+- https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/templates/search_results.html
+- https://github.com/adsabs/adsabs/blob/master/adsabs/modules/search/templates/facets_sublevel.html
+
+## Faceted search example
+
+Search for "jupiter"
+
+http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter
+
+Under Authors, click "Clarke, J"
+
+http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J
+
+Under Authors, click "Gerard, J"
+
+http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J&aut_f=0%2FGerard%2C+J
+
+Under Keywords, click "hydrogen"
+
+http://labs.adsabs.harvard.edu/adsabs/search/?q=jupiter&aut_f=0%2FClarke%2C+J&aut_f=0%2FGerard%2C+J&key_f=hydrogen