|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.search.QParserPlugin
public abstract class QParserPlugin
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean |
|---|
SolrInfoMBean.Category |
| Field Summary | |
|---|---|
static String |
DEFAULT_QTYPE
internal use - name of the default parser |
static Object[] |
standardPlugins
Internal use - name to class mappings of builtin parsers. |
| Constructor Summary | |
|---|---|
QParserPlugin()
|
|
| Method Summary | |
|---|---|
abstract QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a QParser |
SolrInfoMBean.Category |
getCategory()
Purpose of this Class |
String |
getDescription()
Simple one or two line description |
URL[] |
getDocs()
Documentation URL list. |
String |
getName()
Simple common usage name, e.g. |
String |
getSource()
CVS Source, SVN Source, etc |
NamedList |
getStatistics()
Any statistics this instance would like to be publicly available via the Solr Administration interface. |
String |
getVersion()
Simple common usage version, e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin |
|---|
init |
| Field Detail |
|---|
public static final String DEFAULT_QTYPE
public static final Object[] standardPlugins
QParserPlugin has own instance of standardPlugins.
This leads to cyclic dependencies of static fields and to case when NAME field is not yet initialized.
This result to NPE during initialization.
For every plugin, listed here, NAME field has to be final and static.
| Constructor Detail |
|---|
public QParserPlugin()
| Method Detail |
|---|
public abstract QParser createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
QParser
public String getName()
SolrInfoMBean
getName in interface SolrInfoMBeanpublic String getVersion()
SolrInfoMBean
getVersion in interface SolrInfoMBeanpublic String getDescription()
SolrInfoMBean
getDescription in interface SolrInfoMBeanpublic SolrInfoMBean.Category getCategory()
SolrInfoMBean
getCategory in interface SolrInfoMBeanpublic String getSource()
SolrInfoMBean
getSource in interface SolrInfoMBeanpublic URL[] getDocs()
SolrInfoMBeanSuggested documentation URLs: Homepage for sponsoring project, FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...
getDocs in interface SolrInfoMBeanpublic NamedList getStatistics()
SolrInfoMBean
Any Object type may be stored in the list, but only the
toString() representation will be used.
getStatistics in interface SolrInfoMBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||