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
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_COUNTstatic StringDOC_IDstatic StringIDstatic StringINCLUDE_INDEX_FIELD_FLAGSstatic StringNUMTERMS
-
Constructor Summary
Constructors Constructor Description AlfrescoLukeRequestHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDescription()URL[]getDocs()static org.apache.solr.common.util.SimpleOrderedMap<String>getFieldFlagsKey()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.usegetIndexInfo(DirectoryReader)since you now have to explicitly pass the "fl" prameter and this was always called with "false" anyway from CoreAdminHandlervoidhandleRequestBody(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, setPluginInfo
-
-
-
-
Field Detail
-
NUMTERMS
public static final String NUMTERMS
- See Also:
- Constant Field Values
-
INCLUDE_INDEX_FIELD_FLAGS
public static final String INCLUDE_INDEX_FIELD_FLAGS
- See Also:
- Constant Field Values
-
DOC_ID
public static final String DOC_ID
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
DEFAULT_COUNT
public static final int DEFAULT_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static org.apache.solr.common.util.SimpleOrderedMap<String> 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
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.solr.core.SolrInfoMBean- Specified by:
getDescriptionin classorg.apache.solr.handler.RequestHandlerBase
-
getDocs
public URL[] getDocs()
- Specified by:
getDocsin interfaceorg.apache.solr.core.SolrInfoMBean- Overrides:
getDocsin classorg.apache.solr.handler.RequestHandlerBase
-
-