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 2017/06/09 16:21:18 UTC

lucene-solr:branch_6x: Ref Guide: knn documentation

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 3bdf58b16 -> be33af99d


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/be33af99
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/be33af99
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/be33af99

Branch: refs/heads/branch_6x
Commit: be33af99d5eb52061535d546093c8794b0237a96
Parents: 3bdf58b
Author: Joel Bernstein <jb...@apache.org>
Authored: Fri Jun 9 12:18:42 2017 -0400
Committer: Joel Bernstein <jb...@apache.org>
Committed: Fri Jun 9 12:21:07 2017 -0400

----------------------------------------------------------------------
 solr/solr-ref-guide/src/stream-sources.adoc | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/be33af99/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 f2e001a..ab6ec75 100644
--- a/solr/solr-ref-guide/src/stream-sources.adoc
+++ b/solr/solr-ref-guide/src/stream-sources.adoc
@@ -227,13 +227,14 @@ use the More Like This query parser plugin.
 * `collection`: (Mandatory) The collection to perform the search in.
 * `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.
-* `mintf`: (Mandatory) The minimum numer of occurrences of the term in the source document to be inlcued in the search.
-* `maxtf`: (Mandatory) The maximum numer of occurrences of the term in the source document to be inlcued in the search.
-* `mindf`: (Mandatory) The minimum numer of occurrences in the corpus to be inlcued in the search.
-* `maxdf`: (Mandatory) The maximum numer of occurrences in the corpus to be inlcued in the search.
-* `minwl`: (Mandatory) The minimum world length of to be inlcued in the search.
-* `maxwl`: (Mandatory) The maximum world length of to be inlcued in the search.
+* `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.
+* `maxdf`: (Optional) The maximum numer of occurrences in the corpus to be inlcued in the search.
+* `minwl`: (Optional) The minimum world length of to be inlcued in the search.
+* `maxwl`: (Optional) The maximum world length of to be inlcued in the search.
 
 === knn Syntax