mirror of https://github.com/apache/lucene.git
SOLR-11947: Fix ref guide jenkins errors
This commit is contained in:
parent
05dca0493d
commit
be5f73c73a
|
@ -124,7 +124,7 @@ This expression returns the following response:
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Unitize
|
=== Unit Vectors
|
||||||
|
|
||||||
The `unitize` function scales vectors to a magnitude of 1. A vector with a
|
The `unitize` function scales vectors to a magnitude of 1. A vector with a
|
||||||
magnitude of 1 is known as a unit vector. Unit vectors are
|
magnitude of 1 is known as a unit vector. Unit vectors are
|
||||||
|
@ -171,7 +171,7 @@ This expression returns the following response:
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
== Distance
|
== Distance Measures
|
||||||
|
|
||||||
The `distance` function computes a distance measure for two
|
The `distance` function computes a distance measure for two
|
||||||
numeric arrays or a *distance matrix* for the columns of a matrix.
|
numeric arrays or a *distance matrix* for the columns of a matrix.
|
||||||
|
@ -267,7 +267,7 @@ Once the clustering has been completed there are a number of useful functions av
|
||||||
for examining the *clusters* and *centroids*.
|
for examining the *clusters* and *centroids*.
|
||||||
|
|
||||||
The examples below are clustering *term vectors*.
|
The examples below are clustering *term vectors*.
|
||||||
The chapter on link:term-vectors.adoc[Text Analysis and Term Vectors] should be
|
The chapter on link:term-vectors.adoc#term-vectors[Text Analysis and Term Vectors] should be
|
||||||
consulted for a full explanation of these features.
|
consulted for a full explanation of these features.
|
||||||
|
|
||||||
=== Centroid Features
|
=== Centroid Features
|
||||||
|
@ -603,7 +603,7 @@ This expression returns the following response:
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
== K-nearest Neighbor
|
== K-nearest Neighbor (knn)
|
||||||
|
|
||||||
The `knn` function searches the rows of a matrix for the
|
The `knn` function searches the rows of a matrix for the
|
||||||
K-nearest neighbors of a search vector. The `knn` function
|
K-nearest neighbors of a search vector. The `knn` function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
= Math Expressions
|
= Math Expressions
|
||||||
:page-children: scalar-math, vector-math, variables, matrix-math, vectorization, term-vectors, statistics, probability, montecarlo, time-series, regression, numerical-analysis, curve-fitting, machine-learning
|
:page-children: scalar-math, vector-math, variables, matrix-math, vectorization, term-vectors, statistics, probability-distributions, simulations, time-series, regression, numerical-analysis, curve-fitting, machine-learning
|
||||||
|
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
// Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
// or more contributor license agreements. See the NOTICE file
|
||||||
|
@ -30,30 +30,30 @@ and data structures and techniques for combining Solr's
|
||||||
powerful streams with mathematical functions to make every
|
powerful streams with mathematical functions to make every
|
||||||
record in your Solr Cloud cluster computable.
|
record in your Solr Cloud cluster computable.
|
||||||
|
|
||||||
== link:scalar-math.adoc[Scalar Math]
|
== link:scalar-math.adoc#scalar-math[Scalar Math]
|
||||||
|
|
||||||
== link:vector-math.adoc[Vector Math]
|
== link:vector-math.adoc#vector-math[Vector Math]
|
||||||
|
|
||||||
== link:variables.adoc[Variables]
|
== link:variables.adoc#variables.adoc[Variables]
|
||||||
|
|
||||||
== link:matrix-math.adoc[Matrix Math]
|
== link:matrix-math.adoc#matrix-math[Matrix Math]
|
||||||
|
|
||||||
== link:vectorization.adoc[Streams and Vectorization]
|
== link:vectorization.adoc#vectorization[Streams and Vectorization]
|
||||||
|
|
||||||
== link:term-vectors.adoc[Text Analysis and Term Vectors]
|
== link:term-vectors.adoc#term-vectors[Text Analysis and Term Vectors]
|
||||||
|
|
||||||
== link:statistics.adoc[Statistics]
|
== link:statistics.adoc#statistics[Statistics]
|
||||||
|
|
||||||
== link:probability.adoc[Probability]
|
== link:probability-distributions.adoc#probability-distributions[Probability]
|
||||||
|
|
||||||
== link:montecarlo.adoc[Monte Carlo Simulations]
|
== link:simulations.adoc#simulations[Monte Carlo Simulations]
|
||||||
|
|
||||||
== link:time-series.adoc[Time Series]
|
== link:time-series.adoc#time-series[Time Series]
|
||||||
|
|
||||||
== link:regression.adoc[Linear Regression]
|
== link:regression.adoc#regression[Linear Regression]
|
||||||
|
|
||||||
== link:numerical-analysis.adoc[Interpolation, Derivatives and Integrals]
|
== link:numerical-analysis.adoc#numerical-analysis[Interpolation, Derivatives and Integrals]
|
||||||
|
|
||||||
== link:curve-fitting.adoc[Curve Fitting]
|
== link:curve-fitting.adoc#curve-fitting[Curve Fitting]
|
||||||
|
|
||||||
== link:machine-learning.adoc[Machine Learning]
|
== link:machine-learning.adoc#machine-learning[Machine Learning]
|
||||||
|
|
|
@ -280,7 +280,7 @@ The `aggregationMode` parameter is available in the both the JDBC driver and HTT
|
||||||
SELECT distinct fieldA as fa, fieldB as fb FROM tableA ORDER BY fa desc, fb desc
|
SELECT distinct fieldA as fa, fieldB as fb FROM tableA ORDER BY fa desc, fb desc
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Statistics
|
=== Statistical Functions
|
||||||
|
|
||||||
The SQL interface supports simple statistics calculated on numeric fields. The supported functions are `count(*)`, `min`, `max`, `sum`, and `avg`.
|
The SQL interface supports simple statistics calculated on numeric fields. The supported functions are `count(*)`, `min`, `max`, `sum`, and `avg`.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ This section of the user guide covers the
|
||||||
*probability distribution
|
*probability distribution
|
||||||
framework* included in the math expressions library.
|
framework* included in the math expressions library.
|
||||||
|
|
||||||
== Probability Distributions
|
== Probability Distribution Framework
|
||||||
|
|
||||||
The probability distribution framework includes
|
The probability distribution framework includes
|
||||||
many commonly used *real* and *discrete* probability
|
many commonly used *real* and *discrete* probability
|
||||||
|
@ -161,7 +161,7 @@ When this expression is sent to the /stream handler it responds with:
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Probability
|
=== Discrete Probability
|
||||||
|
|
||||||
The `probability` function can be used with any discrete
|
The `probability` function can be used with any discrete
|
||||||
distribution function to compute the probability of a
|
distribution function to compute the probability of a
|
|
@ -161,7 +161,7 @@ Returns the following response:
|
||||||
|
|
||||||
Several types of data can be manipulated with the statistical programming syntax. The following sections explore <<Arrays,arrays>>, <<Tuples,tuples>>, and <<Lists,lists>>.
|
Several types of data can be manipulated with the statistical programming syntax. The following sections explore <<Arrays,arrays>>, <<Tuples,tuples>>, and <<Lists,lists>>.
|
||||||
|
|
||||||
=== Arrays
|
=== Creating Arrays
|
||||||
|
|
||||||
The first data structure we'll explore is the array.
|
The first data structure we'll explore is the array.
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ responds with:
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
== Term Vectors
|
== TF-IDF Term Vectors
|
||||||
|
|
||||||
The `termVectors` function can be used to build *TF-IDF*
|
The `termVectors` function can be used to build *TF-IDF*
|
||||||
term vectors from the terms generated by the `analyze` function.
|
term vectors from the terms generated by the `analyze` function.
|
||||||
|
|
Loading…
Reference in New Issue