Apache Solr open-source search software
Ref Guide: knn documentation
Joel Bernstein70ecf9ef3e4a
diff --git a/solr/solr-ref-guide/src/stream-sources.adoc b/solr/solr-ref-guide/src/stream-sources.adocindex 1f1748e0ed7..97db6f2fbd5 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")