|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.handler.RequestHandlerBase
org.apache.solr.request.DisMaxRequestHandler
public class DisMaxRequestHandler
A Generic query plugin designed to be given a simple query expression from a user, which it will then query against a variety of pre-configured fields, in a variety of ways, using BooleanQueries, DisjunctionMaxQueries, and PhraseQueries.
All of the following options may be configured for this plugin in the solrconfig as defaults, and may be overriden as request parameters
q.alt=*:*
to denote that all documents
should be returned when no query is specified)
fieldA^1.0 fieldB^2.2
".
This param can be specified multiple times, and the fields
are additive.
SolrPluginUtils.setMinShouldMatch
and mm expression format for details.
fieldA^1.0 fieldB^2.2
".
This param can be specified multiple times, and the fields
are additive.
bq
paramter is specified. Hence you can
disable it by specifying an additional, blank, bq
parameter.
funcA(arg1,arg2)^1.2
funcB(arg3,arg4)^2.2
". NOTE: Whitespace is not allowed
in the function arguments.
This param can be specified multiple times, and the functions
are additive.
The following options are only available as request params...
:TODO: document facet param support
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean |
---|
SolrInfoMBean.Category |
Field Summary |
---|
Fields inherited from class org.apache.solr.handler.RequestHandlerBase |
---|
appends, defaults, invariants |
Constructor Summary | |
---|---|
DisMaxRequestHandler()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Simple one or two line description |
java.net.URL[] |
getDocs()
Documentation URL list. |
protected NamedList |
getFacetInfo(SolrQueryRequest req,
SolrQueryResponse rsp,
DocSet mainSet)
Fetches information about Facets for this request. |
java.lang.String |
getSource()
CVS Source, SVN Source, etc |
java.lang.String |
getSourceId()
CVS Id, SVN Id, etc |
java.lang.String |
getVersion()
Simple common usage version, e.g. |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp)
|
void |
init(NamedList args)
Sets the default variables for any useful info it finds in the config. |
Methods inherited from class org.apache.solr.handler.RequestHandlerBase |
---|
getCategory, getName, getStatistics, handleRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisMaxRequestHandler()
Method Detail |
---|
public void init(NamedList args)
init
in interface SolrRequestHandler
init
in class RequestHandlerBase
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws java.lang.Exception
handleRequestBody
in class RequestHandlerBase
java.lang.Exception
protected NamedList getFacetInfo(SolrQueryRequest req, SolrQueryResponse rsp, DocSet mainSet)
SimpleFacets.getFacetCounts()
public java.lang.String getDescription()
SolrInfoMBean
getDescription
in interface SolrInfoMBean
getDescription
in class RequestHandlerBase
public java.lang.String getVersion()
SolrInfoMBean
getVersion
in interface SolrInfoMBean
getVersion
in class RequestHandlerBase
public java.lang.String getSourceId()
SolrInfoMBean
getSourceId
in interface SolrInfoMBean
getSourceId
in class RequestHandlerBase
public java.lang.String getSource()
SolrInfoMBean
getSource
in interface SolrInfoMBean
getSource
in class RequestHandlerBase
public java.net.URL[] getDocs()
SolrInfoMBean
Suggested documentation URLs: Homepage for sponsoring project, FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...
getDocs
in interface SolrInfoMBean
getDocs
in class RequestHandlerBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |