Class AlfrescoLukeRequestHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.component.AlfrescoLukeRequestHandler
- All Implemented Interfaces:
org.apache.solr.api.ApiSupport,org.apache.solr.core.SolrInfoMBean,org.apache.solr.handler.NestedRequestHandler,org.apache.solr.metrics.SolrMetricProducer,org.apache.solr.request.SolrRequestHandler
public class AlfrescoLukeRequestHandler
extends org.apache.solr.handler.RequestHandlerBase
- Author:
- Andy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean
org.apache.solr.core.SolrInfoMBean.Category, org.apache.solr.core.SolrInfoMBean.Group -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.solr.handler.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariantsFields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionURL[]getDocs()static org.apache.solr.common.util.SimpleOrderedMap<String>protected static org.apache.lucene.document.DocumentgetFirstLiveDoc(org.apache.lucene.index.Terms terms, org.apache.lucene.index.LeafReader reader) static org.apache.solr.common.util.SimpleOrderedMap<Object>getIndexInfo(org.apache.lucene.index.DirectoryReader reader) static org.apache.solr.common.util.SimpleOrderedMap<Object>getIndexInfo(org.apache.lucene.index.DirectoryReader reader, boolean detail) Deprecated.voidhandleRequestBody(org.apache.solr.request.SolrQueryRequest req, org.apache.solr.response.SolrQueryResponse rsp) Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getCategory, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, getSubHandler, getVersion, handleRequest, init, initializeMetrics, setPluginInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.api.ApiSupport
registerV1, registerV2
-
Field Details
-
NUMTERMS
- See Also:
-
INCLUDE_INDEX_FIELD_FLAGS
- See Also:
-
DOC_ID
- See Also:
-
ID
- See Also:
-
DEFAULT_COUNT
public static final int DEFAULT_COUNT- See Also:
-
-
Constructor Details
-
AlfrescoLukeRequestHandler
public AlfrescoLukeRequestHandler()
-
-
Method Details
-
handleRequestBody
public void handleRequestBody(org.apache.solr.request.SolrQueryRequest req, org.apache.solr.response.SolrQueryResponse rsp) throws Exception - Specified by:
handleRequestBodyin classorg.apache.solr.handler.RequestHandlerBase- Throws:
Exception
-
getFieldFlagsKey
- Returns:
- a key to what each character means
-
getFirstLiveDoc
protected static org.apache.lucene.document.Document getFirstLiveDoc(org.apache.lucene.index.Terms terms, org.apache.lucene.index.LeafReader reader) throws IOException - Throws:
IOException
-
getIndexInfo
public static org.apache.solr.common.util.SimpleOrderedMap<Object> getIndexInfo(org.apache.lucene.index.DirectoryReader reader, boolean detail) throws IOException Deprecated.usegetIndexInfo(DirectoryReader)since you now have to explicitly pass the "fl" prameter and this was always called with "false" anyway from CoreAdminHandler- Throws:
IOException
-
getIndexInfo
public static org.apache.solr.common.util.SimpleOrderedMap<Object> getIndexInfo(org.apache.lucene.index.DirectoryReader reader) throws IOException - Throws:
IOException
-
getDescription
- Specified by:
getDescriptionin interfaceorg.apache.solr.core.SolrInfoMBean- Specified by:
getDescriptionin classorg.apache.solr.handler.RequestHandlerBase
-
getDocs
- Specified by:
getDocsin interfaceorg.apache.solr.core.SolrInfoMBean- Overrides:
getDocsin classorg.apache.solr.handler.RequestHandlerBase
-
getIndexInfo(DirectoryReader)since you now have to explicitly pass the "fl" prameter and this was always called with "false" anyway from CoreAdminHandler