lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "MoreLikeThis" by HossMan
Date Wed, 14 Dec 2011 00:32:52 GMT
Dear Wiki user,

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

The "MoreLikeThis" page has been changed by HossMan:
http://wiki.apache.org/solr/MoreLikeThis?action=diff&rev1=15&rev2=16

Comment:
clarify old StandardRequestHandler ref, remove obsolte debug caveat

- There are two ways to access [[http://lucene.apache.org/java/2_0_0/api/org/apache/lucene/search/similar/MoreLikeThis.html|MoreLikeThis]]
from solr: from the MoreLikeThisHandler or with the StandardRequestHandler.
+ There are two ways to access [[http://lucene.apache.org/java/2_0_0/api/org/apache/lucene/search/similar/MoreLikeThis.html|MoreLikeThis]]
from solr: from the MoreLikeThisHandler or with the !MoreLikeThisComponent in SearchHandler.
  
  <!> [[Solr1.3]]
  
@@ -27, +27 @@

  || mlt.boost   || [true/false] set if the query will be boosted by the interesting term
relevance. ||
  || mlt.qf      || Query fields and their boosts using the same format as that used in [[DisMaxQParserPlugin]].
 These fields must also be specified in mlt.fl. ||
  
- == StandardRequestHandler ==
+ == MoreLikeThisComponent ==
  
  This method returns similar documents for '''each''' document in the response set.  Perhaps
this should be called "!MoreLikeThese"
  
  || '''param''' || '''description''' ||
  || mlt         || 'true' to enable MoreLikeThis results ||
  || mlt.count   || The number of similar documents to return for each result. ||
- 
  
  ''examples''
  
@@ -44, +43 @@

  
  When you specifically want information about similar documents, you can use the MoreLikeThisHandler.
  
- If you want to filter the similar results given by MoreLikeThis you have to use the MoreLikeThisHandler.
It will consider the similar document result set as the main one so will apply the specified
filters (fq) on it. If you use the MoreLikeThisComponent and apply query filters it will be
applyed to the result set returned by the main query (QueryComponent) and not to the one returned
by the MoreLikeThisComponent. 
+ If you want to filter the similar results given by MoreLikeThis you have to use the MoreLikeThisHandler.
It will consider the similar document result set as the main one so will apply the specified
filters (fq) on it. If you use the !MoreLikeThisComponent and apply query filters it will
be applyed to the result set returned by the main query (!QueryComponent) and not to the one
returned by the !MoreLikeThisComponent. 
  
- == Debugging ==
- <!> [[Solr1.4]]
- 
- As of 11/14/2008 there currently does not exist a way to see why solr recommended alternative
products via the SearchComponent.  While it is true that debugQuery can be used it does not
appear to contain the data for this component.
- 

Mime
View raw message