The Streaming Expression library includes a powerful mathematical programing syntax with many of the features of a functional programming language. The syntax includes variables, data structures and a growing set of mathematical functions.
This user guide provides an overview of the different areas of mathematical coverage starting with basic scalar math and ending with machine learning. Along the way the guide covers variables and data structures and techniques for combining Solr’s powerful streams with mathematical functions to make every record in your Solr Cloud cluster computable.
Scalar Math: The functions that apply to scalar numbers.
Vector Math: Vector math expressions and vector manipulation.
Variables and Caching: Assigning and caching variables.
Matrix Math: Matrix creation, manipulation, and matrix math.
Streams and Vectorization: Retrieving streams and vectorizing numeric and lat/lon location fields.
Text Analysis and Term Vectors: Using math expressions for text analysis and TF-IDF term vectors.
Statistics: Statistical functions in math expressions.
Probability: Mathematical models for probability.
Monte Carlo Simulations: Performing correlated and uncorrelated Monte Carlo simulations.
Linear Regression: Simple and multivariate linear regression.
Interpolation, Derivatives and Integrals: Numerical analysis math expressions.
Curve Fitting: Polynomial and Gaussian curve fitting.
Digital Signal Processing: Functions commonly used with digital signal processing.
Time Series: Aggregation, smoothing, differencing, modeling and anomaly detection for time series.
Machine Learning: Functions used in machine learning.