You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jb...@apache.org on 2019/08/30 01:28:19 UTC

[lucene-solr] branch SOLR-13105-visual updated: SOLR-13105: Update search/sample/agg viz5

This is an automated email from the ASF dual-hosted git repository.

jbernste pushed a commit to branch SOLR-13105-visual
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/SOLR-13105-visual by this push:
     new 1746a08  SOLR-13105: Update search/sample/agg viz5
1746a08 is described below

commit 1746a08f5b1123b0633451faf7a46d4b5a5c7af9
Author: Joel Bernstein <jb...@apache.org>
AuthorDate: Thu Aug 29 21:28:11 2019 -0400

    SOLR-13105: Update search/sample/agg viz5
---
 solr/solr-ref-guide/src/search-sample.adoc | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/solr/solr-ref-guide/src/search-sample.adoc b/solr/solr-ref-guide/src/search-sample.adoc
index f93b7bb..c010d47 100644
--- a/solr/solr-ref-guide/src/search-sample.adoc
+++ b/solr/solr-ref-guide/src/search-sample.adoc
@@ -39,7 +39,7 @@ for exploring the fields in the data and understanding how to start refining the
 
 image::images/math-expressions/search1.png[]
 
-=== Searching and Sorting
+=== Sorting
 
 Once the format of the records is known, parameters can be added to the *search* function to begin analyzing
 the data.
@@ -137,16 +137,25 @@ aggregations that behave in a similar manner to SQL group by aggregations.
 Under the cover the `facet` function pushes down the aggregation to Solr's
 JSON facet api for fast distributed execution.
 
-The example below performs a single dimension aggregation.
+The example below performs a single dimension aggregation from the nyc311 (NYC complaints) collection.
+The aggregation returns the top five
+*complaint types* by *count* for records with a status of *Pending*. The results is displayed
+in with Zeppelin-Solr in a table.
 
 image::images/math-expressions/facettab1.png[]
 
+The example below shows the table visualized using a pie chart.
+
 image::images/math-expressions/facetviz1.png[]
 
-The example below performas multi-dimension aggretation.
+The example below shows the table visualized using a pie chart. Notice that *buckets* parameter now
+contains two dimensions: borough_s and complaint_type_s. The result of this is the top 20
+combinations of borough and complaint type by count.
 
 image::images/math-expressions/facettab2.png[]
 
+The example below shows the multi-dimension aggregation visualized as a grouped bar chart.
+
 image::images/math-expressions/facetviz2.png[]
 
 === facet2D