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:18:51 UTC

lucene-solr:master: Ref Guide: knn documentation

Repository: lucene-solr
Updated Branches:
  refs/heads/master 1dab10e81 -> 489d2a4aa


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

Branch: refs/heads/master
Commit: 489d2a4aabedb2d313fe60c6a35336b5bf09bd1b
Parents: 1dab10e
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:18:42 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/489d2a4a/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 e77fc14..1f1748e 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