SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions.

This commit is contained in:
Joel Bernstein 2018-09-09 20:53:54 -04:00
parent 304836e675
commit e5232f68cf
1 changed files with 2 additions and 2 deletions

View File

@ -246,9 +246,9 @@ When this expression is sent to the /stream handler it responds with:
The `latlonVectors` function wraps a list of tuples and parses a lat/long location field into
a matrix of lat/long vectors. Each row in the matrix is a vector that contains the lat/long
pair for the corresponding tuple in the list. The column labels for the matrix are
pair for the corresponding tuple in the list. The row labels for the matrix are
automatically set to the *id* field in the tuples. The the lat/lon matrix can then be operated
on by machine learning functions using the `haversineMeters` distance measure.
on by distance based machine learning functions using the `haversineMeters` distance measure.
The `latlonVectors` function takes two parameters: a list of tuples and a named parameter called
*field*. The field parameter tells the `latlonVectors` function which field to parse the lat/lon