lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbern...@apache.org
Subject lucene-solr:master: Ref Guide: knn documentation
Date Fri, 09 Jun 2017 16:24:19 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 489d2a4aa -> 70ecf9ef3


Ref Guide: knn documentation


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/70ecf9ef
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/70ecf9ef
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/70ecf9ef

Branch: refs/heads/master
Commit: 70ecf9ef3e4ac4fd81ebc80c76551c6cf00840e4
Parents: 489d2a4
Author: Joel Bernstein <jbernste@apache.org>
Authored: Fri Jun 9 12:23:58 2017 -0400
Committer: Joel Bernstein <jbernste@apache.org>
Committed: Fri Jun 9 12:23:58 2017 -0400

----------------------------------------------------------------------
 solr/solr-ref-guide/src/stream-sources.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/70ecf9ef/solr/solr-ref-guide/src/stream-sources.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/stream-sources.adoc b/solr/solr-ref-guide/src/stream-sources.adoc
index 1f1748e..97db6f2 100644
--- a/solr/solr-ref-guide/src/stream-sources.adoc
+++ b/solr/solr-ref-guide/src/stream-sources.adoc
@@ -228,7 +228,7 @@ use the More Like This query parser plugin.
 * `id`: (Mandatory) The id of the source document to begin the knn search from.
 * `qf`: (Mandatory) The query field used to compare documents.
 * `k`: (Mandatory) The number of nearest neighbors to return.
-* `fl`: (Mandatory) The field list returned.
+* `fl`: (Mandatory) The field list to return.
 * `mintf`: (Optional) The minimum numer of occurrences of the term in the source document
to be inlcued in the search.
 * `maxtf`: (Optional) The maximum numer of occurrences of the term in the source document
to be inlcued in the search.
 * `mindf`: (Optional) The minimum numer of occurrences in the corpus to be inlcued in the
search.
@@ -243,6 +243,7 @@ use the More Like This query parser plugin.
 knn(collection1,
     id="doc1",
     qf="text_field",
+    k="10",
     fl="id, title",
     mintf="3",
     maxdf="10000000")


Mime
View raw message