You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/05/25 21:35:37 UTC
[Solr Wiki] Update of "MoreLikeThisHandler" by ErikHatcher
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "MoreLikeThisHandler" page has been changed by ErikHatcher.
The comment on this change is: s/displayTerms/interestingTerms.
http://wiki.apache.org/solr/MoreLikeThisHandler?action=diff&rev1=5&rev2=6
--------------------------------------------------
http://localhost:8983/solr/mlt?q=id:UTF8TEST&mlt.fl=manu,cat&mlt.mindf=1&mlt.mintf=1&mlt.match.include=false
- http://localhost:8983/solr/mlt?q=id:SP2514N&mlt.fl=manu,cat&mlt.mindf=1&mlt.mintf=1&fq=inStock:true&mlt.displayTerms=details
+ http://localhost:8983/solr/mlt?q=id:SP2514N&mlt.fl=manu,cat&mlt.mindf=1&mlt.mintf=1&fq=inStock:true&mlt.interestingTerms=details
=== Using ContentStreams ===
If you post text in the body, that will be used for similarity. Alternatively, you can put the posted content in the URL using something like:
- http://localhost:8983/solr/mlt?stream.body=electronics%20memory&mlt.fl=manu,cat&mlt.displayTerms=list&mlt.mintf=0
+ http://localhost:8983/solr/mlt?stream.body=electronics%20memory&mlt.fl=manu,cat&mlt.interestingTerms=list&mlt.mintf=0
If `remoteStreaming` is enabled, you can find documents similar to the text on a webpage:
- http://localhost:8983/solr/mlt?stream.url=http://lucene.apache.org/solr/&mlt.fl=manu,cat&mlt.displayTerms=list&mlt.mintf=0
+ http://localhost:8983/solr/mlt?stream.url=http://lucene.apache.org/solr/&mlt.fl=manu,cat&mlt.interestingTerms=list&mlt.mintf=0
----
CategorySolrRequestHandler