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/06/10 01:06:43 UTC

[lucene-solr] branch SOLR-13105-visual updated: SOLR-13105: Add getting started page

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 a6d839d  SOLR-13105: Add getting started page
a6d839d is described below

commit a6d839dfe9b9dad18dddc8aab1d9c8dd4cab9be0
Author: Joel Bernstein <jb...@apache.org>
AuthorDate: Sun Jun 9 21:06:27 2019 -0400

    SOLR-13105: Add getting started page
---
 .../src/images/math-expressions/add.png            | Bin 0 -> 284931 bytes
 .../src/images/math-expressions/search.png         | Bin 0 -> 359350 bytes
 .../src/images/math-expressions/zepconf.png        | Bin 0 -> 139266 bytes
 solr/solr-ref-guide/src/math-expressions.adoc      |   6 +-
 solr/solr-ref-guide/src/math-start.adoc            |  78 +++++++++++++++++++++
 5 files changed, 82 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/images/math-expressions/add.png b/solr/solr-ref-guide/src/images/math-expressions/add.png
new file mode 100644
index 0000000..02fd512
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/add.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/search.png b/solr/solr-ref-guide/src/images/math-expressions/search.png
new file mode 100644
index 0000000..ac7db03
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/search.png differ
diff --git a/solr/solr-ref-guide/src/images/math-expressions/zepconf.png b/solr/solr-ref-guide/src/images/math-expressions/zepconf.png
new file mode 100644
index 0000000..81400ae
Binary files /dev/null and b/solr/solr-ref-guide/src/images/math-expressions/zepconf.png differ
diff --git a/solr/solr-ref-guide/src/math-expressions.adoc b/solr/solr-ref-guide/src/math-expressions.adoc
index 101f1d5..a2e47e4 100644
--- a/solr/solr-ref-guide/src/math-expressions.adoc
+++ b/solr/solr-ref-guide/src/math-expressions.adoc
@@ -1,5 +1,5 @@
 = Math Expressions
-:page-children: visualization, scalar-math, vector-math, variables, matrix-math, vectorization, term-vectors, statistics, probability-distributions, simulations, time-series, regression, numerical-analysis, curve-fitting, dsp, machine-learning, computational-geometry
+:page-children: visualization, math-start, scalar-math, vector-math, variables, matrix-math, vectorization, term-vectors, statistics, probability-distributions, simulations, time-series, regression, numerical-analysis, curve-fitting, dsp, machine-learning, computational-geometry
 
 // Licensed to the Apache Software Foundation (ASF) under one
 // or more contributor license agreements.  See the NOTICE file
@@ -25,7 +25,9 @@ image::images/math-expressions/curve-fitting.png[]
 
 == Table of Contents
 
-*<<visualization.adoc#visualization,Visualization>>*: Gallery and introduction to visualizing Streaming Expressions and Math Expressions.
+*<<visualization.adoc#visualization,Visualization Gallery>>*: Gallery Streaming Expressions and Math Expressions visualizations.
+
+*<<math-start.adoc#getting-started,Getting Started>>*: Getting started with Streaming Expressions, Math Expressions and Visualization.
 
 *<<scalar-math.adoc#scalar-math,Scalar Math>>*: The functions that apply to scalar numbers.
 
diff --git a/solr/solr-ref-guide/src/math-start.adoc b/solr/solr-ref-guide/src/math-start.adoc
new file mode 100644
index 0000000..c080d31
--- /dev/null
+++ b/solr/solr-ref-guide/src/math-start.adoc
@@ -0,0 +1,78 @@
+= Getting Started
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+
+== Language Notes
+
+*Streaming Expressions* and *Math Expressions* are an expression language that runs
+inside Solr Cloud. The language consists of function expressions that are designed
+to be nested or *composed*. Streaming Expressions are purely functional in that they don't
+have any constructs but functions. Math Expressions does have variables, so it's not
+purely functional. But Math Expression variables are really just a special kind of
+named parameter of the *let* expression.
+
+*Streaming Expressions* all return streams of data. This allows Streaming Expressions to be
+composed in ways that form a pipeline. A *Stream Source*, such as *search*, initiates
+a stream of Tuples. A Stream Decorator, such as *select*, wraps the Stream Source and transforms
+the stream of Tuples.
+
+*Math Expressions* do not return streams of data. Math Expressions return primatives and in-memory
+arrays and matrices. Many of the Math Expression are designed to work on arrays and matrices
+to perform *statistical* and mathematical operations.
+
+Streaming Expressions and Math Expressions can be combined to *search, sort,
+sample, aggregate, transform, analyse* and *visualize* data in Solr Cloud collections.
+
+== Executing Streaming Expressions and Math Expressions
+
+Solr's /stream handler excuted Streaming Expressions and Math Expressions. The easiest way
+run Streaming Expression and Math expressions is through *stream* panel on the Solr admin
+UI.
+
+A sample *search* Streaming Expression is shown is screensheet below:
+
+
+image::images/math-expressions/search.png[]
+
+
+A sample *add* Streaming Expression is shown is screensheet below:
+
+
+image::images/math-expressions/add.png[]
+
+
+== Curl
+
+
+== Visualization
+
+https://github.com/lucidworks/zeppelin-solr
+
+image::images/math-expressions/zepconf.png[]
+
+
+
+
+
+
+
+
+
+
+
+