public class LukeRequestHandler extends RequestHandlerBase
NOTE: the response format is still likely to change. It should be designed so that it works nicely with an XSLT transformation. Until we have a nice XSLT front end for /admin, the format is still open to change.
For more documentation see: http://wiki.apache.org/solr/LukeRequestHandlerSolrInfoMBean.Category
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_COUNT |
static String |
DOC_ID |
static String |
ID |
static String |
NUMTERMS |
static String |
REPORT_DOC_COUNT |
appends, defaults, httpCaching, initArgs, invariants
Constructor and Description |
---|
LukeRequestHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Simple one or two line description
|
URL[] |
getDocs()
Documentation URL list.
|
static SimpleOrderedMap<String> |
getFieldFlagsKey() |
static SimpleOrderedMap<Object> |
getIndexInfo(IndexReader reader,
boolean countTerms) |
static SimpleOrderedMap<Object> |
getIndexInfo(IndexReader reader,
int numTerms,
Map<String,org.apache.solr.handler.admin.LukeRequestHandler.TopTermQueue> topTerms,
Set<String> fields) |
String |
getSource()
CVS Source, SVN Source, etc
|
String |
getSourceId()
CVS Id, SVN Id, etc
|
String |
getVersion()
Simple common usage version, e.g. 2.0
|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
getCategory, getInitArgs, getName, getStatistics, handleRequest, init
public static final String NUMTERMS
public static final String DOC_ID
public static final String ID
public static final String REPORT_DOC_COUNT
public static final int DEFAULT_COUNT
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public static SimpleOrderedMap<String> getFieldFlagsKey()
public static SimpleOrderedMap<Object> getIndexInfo(IndexReader reader, boolean countTerms) throws IOException
IOException
public static SimpleOrderedMap<Object> getIndexInfo(IndexReader reader, int numTerms, Map<String,org.apache.solr.handler.admin.LukeRequestHandler.TopTermQueue> topTerms, Set<String> fields) throws IOException
IOException
public String getDescription()
SolrInfoMBean
getDescription
in interface SolrInfoMBean
getDescription
in class RequestHandlerBase
public String getVersion()
SolrInfoMBean
getVersion
in interface SolrInfoMBean
getVersion
in class RequestHandlerBase
public String getSourceId()
SolrInfoMBean
getSourceId
in interface SolrInfoMBean
getSourceId
in class RequestHandlerBase
public String getSource()
SolrInfoMBean
getSource
in interface SolrInfoMBean
getSource
in class RequestHandlerBase
public 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