From a817987d92025313633dd146c07af2e2c0d0c6ef Mon Sep 17 00:00:00 2001 From: Grant Ingersoll Date: Wed, 20 Oct 2010 01:16:20 +0000 Subject: [PATCH] SOLR-2177: Show more examples of faceting in the browse capability git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024475 13f79535-47bb-0310-9956-ffa450edef68 --- solr/example/solr/conf/solrconfig.xml | 17 +++ .../solr/conf/velocity/VM_global_library.vm | 112 ++++++++++++++++++ .../example/solr/conf/velocity/facet_dates.vm | 4 + .../example/solr/conf/velocity/facet_pivot.vm | 2 + .../solr/conf/velocity/facet_queries.vm | 2 + .../solr/conf/velocity/facet_ranges.vm | 9 ++ solr/example/solr/conf/velocity/facets.vm | 7 ++ solr/example/solr/conf/velocity/hit.vm | 7 +- 8 files changed, 157 insertions(+), 3 deletions(-) create mode 100644 solr/example/solr/conf/velocity/facet_dates.vm create mode 100644 solr/example/solr/conf/velocity/facet_pivot.vm create mode 100644 solr/example/solr/conf/velocity/facet_queries.vm create mode 100644 solr/example/solr/conf/velocity/facet_ranges.vm diff --git a/solr/example/solr/conf/solrconfig.xml b/solr/example/solr/conf/solrconfig.xml index 348b5a03db1..f4f1a08f204 100755 --- a/solr/example/solr/conf/solrconfig.xml +++ b/solr/example/solr/conf/solrconfig.xml @@ -524,7 +524,23 @@ on cat manu_exact + ipod + GB 1 + cat,inStock + price + 0 + 600 + 50 + after + manufacturedate_dt + NOW/YEAR-10YEARS + NOW + 1 + +1YEAR + before + after + on @@ -541,6 +557,7 @@ spellcheck + pivot