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 2018/09/10 00:54:03 UTC
lucene-solr:master: SOLR-11943: Fix RefGuide for latlonVectors and
haversineMeters functions.
Repository: lucene-solr
Updated Branches:
refs/heads/master 304836e67 -> e5232f68c
SOLR-11943: Fix RefGuide for latlonVectors and haversineMeters functions.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e5232f68
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e5232f68
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e5232f68
Branch: refs/heads/master
Commit: e5232f68cf73e7248ea55ef98367d5f9f5c40c23
Parents: 304836e
Author: Joel Bernstein <jb...@apache.org>
Authored: Sun Sep 9 20:53:54 2018 -0400
Committer: Joel Bernstein <jb...@apache.org>
Committed: Sun Sep 9 20:53:54 2018 -0400
----------------------------------------------------------------------
solr/solr-ref-guide/src/vectorization.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e5232f68/solr/solr-ref-guide/src/vectorization.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/vectorization.adoc b/solr/solr-ref-guide/src/vectorization.adoc
index 09b6a01..2770320 100644
--- a/solr/solr-ref-guide/src/vectorization.adoc
+++ b/solr/solr-ref-guide/src/vectorization.adoc
@@ -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