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 2009/08/05 18:55:07 UTC

[Solr Wiki] Trivial Update of "MoreLikeThisHandler" by JayHill

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by JayHill:
http://wiki.apache.org/solr/MoreLikeThisHandler

The comment on the change is:
Required param was missing in content stream examples: &mlt.fl=manu,cat

------------------------------------------------------------------------------
  
  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.displayTerms=list&mlt.mintf=0
+ http://localhost:8983/solr/mlt?stream.body=electronics%20memory&mlt.fl=manu,cat&mlt.displayTerms=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.displayTerms=list&mlt.mintf=0
+ http://localhost:8983/solr/mlt?stream.url=http://lucene.apache.org/solr/&mlt.fl=manu,cat&mlt.displayTerms=list&mlt.mintf=0
  ----
  CategorySolrRequestHandler