org.apache.solr.handler
Class CustomMoreLikeThisHandler.MoreLikeThisHelper
java.lang.Object
org.apache.solr.handler.CustomMoreLikeThisHandler.MoreLikeThisHelper
- Enclosing class:
- CustomMoreLikeThisHandler
public static class CustomMoreLikeThisHandler.MoreLikeThisHelper
- extends java.lang.Object
Helper class for MoreLikeThis that can be called from other request handlers
|
Method Summary |
org.apache.solr.common.util.NamedList<org.apache.solr.search.DocList> |
getMoreLikeThese(org.apache.solr.search.DocList docs,
int rows,
int flags)
|
org.apache.lucene.search.similar.MoreLikeThis |
getMoreLikeThis()
|
org.apache.solr.search.DocListAndSet |
getMoreLikeThis(int id,
int start,
int rows,
java.util.List<org.apache.lucene.search.Query> filters,
java.util.List<CustomMoreLikeThisHandler.InterestingTerm> terms,
int flags)
|
org.apache.solr.search.DocListAndSet |
getMoreLikeThis(java.io.Reader reader,
int start,
int rows,
java.util.List<org.apache.lucene.search.Query> filters,
java.util.List<CustomMoreLikeThisHandler.InterestingTerm> terms,
int flags)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomMoreLikeThisHandler.MoreLikeThisHelper
public CustomMoreLikeThisHandler.MoreLikeThisHelper(org.apache.solr.common.params.SolrParams params,
org.apache.solr.search.SolrIndexSearcher searcher)
getMoreLikeThis
public org.apache.solr.search.DocListAndSet getMoreLikeThis(int id,
int start,
int rows,
java.util.List<org.apache.lucene.search.Query> filters,
java.util.List<CustomMoreLikeThisHandler.InterestingTerm> terms,
int flags)
throws java.io.IOException
- Throws:
java.io.IOException
getMoreLikeThis
public org.apache.solr.search.DocListAndSet getMoreLikeThis(java.io.Reader reader,
int start,
int rows,
java.util.List<org.apache.lucene.search.Query> filters,
java.util.List<CustomMoreLikeThisHandler.InterestingTerm> terms,
int flags)
throws java.io.IOException
- Throws:
java.io.IOException
getMoreLikeThese
public org.apache.solr.common.util.NamedList<org.apache.solr.search.DocList> getMoreLikeThese(org.apache.solr.search.DocList docs,
int rows,
int flags)
throws java.io.IOException
- Throws:
java.io.IOException
getMoreLikeThis
public org.apache.lucene.search.similar.MoreLikeThis getMoreLikeThis()
Copyright © 2004-2010. All Rights Reserved.