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/10/04 19:12:11 UTC

[lucene-solr] branch SOLR-13105-visual updated: SOLR-13105: Inprove geometry docs

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 4d335c8  SOLR-13105: Inprove geometry docs
4d335c8 is described below

commit 4d335c8e0a8b7f1e8e6d420528fb86c84580f6d9
Author: Joel Bernstein <jb...@apache.org>
AuthorDate: Fri Oct 4 15:11:39 2019 -0400

    SOLR-13105: Inprove geometry docs
---
 .../solr-ref-guide/src/computational-geometry.adoc |  15 +++++++++++++--
 .../src/images/math-expressions/2DCluster2.png     | Bin 0 -> 533546 bytes
 .../src/images/math-expressions/2Dcentroids.png    | Bin 2637377 -> 2578929 bytes
 .../src/images/math-expressions/convex0.png        | Bin 0 -> 310268 bytes
 .../src/images/math-expressions/convex1.png        | Bin 308289 -> 299542 bytes
 .../src/images/math-expressions/convex2.png        | Bin 2471695 -> 2389765 bytes
 .../src/images/math-expressions/hullplot.png       | Bin 0 -> 195004 bytes
 7 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/computational-geometry.adoc b/solr/solr-ref-guide/src/computational-geometry.adoc
index df38740..819f82b 100644
--- a/solr/solr-ref-guide/src/computational-geometry.adoc
+++ b/solr/solr-ref-guide/src/computational-geometry.adoc
@@ -19,16 +19,26 @@
 
 This section of the math expressions user guide covers computational geometry functions.
 
+<<Convex Hull, Convex Hull>> -
+<<Enclosing Disk, Enclosing Disk>>
+
+
 == Convex Hull
 
 A convex hull is the smallest convex set of points that encloses a data set. Math expressions has support for computing
 the convex hull of a 2D data set. Once a convex hull has been calculated, a set of math expression functions
 can be applied to geometrically describe the convex hull.
 
-The `convexHull` function finds the convex hull of an observation matrix of 2D vectors.
-Each row of the matrix is a 2D observation.
 
 
+=== Visualization
+
+The `convexHull` function can be used visualize a border around a set of 2D
+
+
+image::images/math-expressions/convex0.png[]
+
+image::images/math-expressions/hullplot.png[]
 
 
 image::images/math-expressions/convex1.png[]
@@ -39,6 +49,7 @@ image::images/math-expressions/convex2.png[]
 
 
 
+
 == Enclosing Disk
 
 The `enclosingDisk` function finds the smallest enclosing circle the encloses a 2D data set.
diff --git a/solr/solr-ref-guide/src/images/math-expressions/2DCluster2.png b/solr/solr-ref-guide/src/images/math-expressions/2DCluster2.png
new file mode 100644
index 0000000..08daacf
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/2DCluster2.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/2Dcentroids.png b/solr/solr-ref-guide/src/images/math-expressions/2Dcentroids.png
index 8d574f5..27f16b6 100644
Binary files a/solr/solr-ref-guide/src/images/math-expressions/2Dcentroids.png and b/solr/solr-ref-guide/src/images/math-expressions/2Dcentroids.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/convex0.png b/solr/solr-ref-guide/src/images/math-expressions/convex0.png
new file mode 100644
index 0000000..41f1a44
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/convex0.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/convex1.png b/solr/solr-ref-guide/src/images/math-expressions/convex1.png
index d39b146..b4a8ecc 100644
Binary files a/solr/solr-ref-guide/src/images/math-expressions/convex1.png and b/solr/solr-ref-guide/src/images/math-expressions/convex1.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/convex2.png b/solr/solr-ref-guide/src/images/math-expressions/convex2.png
index 00d0344..797c176 100644
Binary files a/solr/solr-ref-guide/src/images/math-expressions/convex2.png and b/solr/solr-ref-guide/src/images/math-expressions/convex2.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/hullplot.png b/solr/solr-ref-guide/src/images/math-expressions/hullplot.png
new file mode 100644
index 0000000..7f9413c
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/hullplot.png differ