SystemInformationRequestHandlers
SystemInformationRequestHandlers - Solr Wiki
SystemInformationRequestHandlers
- Immutable Page
- Comments
- Info
- Attachments
- More Actions:
Raw Text
Print View
Render as Docbook
Delete Cache
------------------------
Check Spelling
Like Pages
Local Site Map
------------------------
Rename Page
Copy Page
Delete Page
------------------------
My Pages
Subscribe User
------------------------
Remove Spam
Revert to this revision
Package Pages
Sync Pages
------------------------
Load
Save
SlideShow
There are a few requestHandlers that fetch various bits of information about the Solr instance, and a given core.
Contents
LukeRequestHandler
See LukeRequestHandler.
SystemInfoHandler
The SystemInfoHandler returns a snapshot of the operating environment of a given Solr instance: basic data, Solr & Lucene version data, Java VM information, JMX accessibility, and operation system. As of this writing, the servlet engine or embedded Solr status is not gathered.
Parameters
None.
Example Output
http://localhost:8983/solr/admin/system?indent=on
<lst name="core">
<str name="schema">example</str>
<str name="host">norskhaus</str>
<date name="now">2010-07-06T05:49:12.405Z</date>
<date name="start">2010-07-06T05:48:55.527Z</date>
<lst name="directory">
<str name="instance">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\
olr</str>
<str name="data">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\.\so
r\data</str>
<str name="index">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\sol
\data\index</str>
</lst>
</lst>
<lst name="lucene">
<str name="solr-spec-version">1.4.1.2010.07.01.16.02.55</str>
<str name="solr-impl-version">1.4.2-dev 959792M - work - 2010-07-01 16:02:55</
tr>
<str name="lucene-spec-version">2.9.3</str>
<str name="lucene-impl-version">2.9.3 951790 - 2010-06-06 01:30:55</str>
</lst>
<lst name="jvm">
<str name="version">14.0-b16</str>
<str name="name">Java HotSpot(TM) 64-Bit Server VM</str>
<int name="processors">2</int>
<lst name="memory">
<str name="free">88.1 MB</str>
<str name="total">109.4 MB</str>
<str name="max">910.2 MB</str>
<str name="used">21.3 MB (%2.3)</str>
</lst>
<lst name="jmx">
<str name="bootclasspath">C:\Program Files\Java\jdk1.6.0_14\jre\lib\resources
jar;C:\Program Files\Java\jdk1.6.0_14\jre\lib\rt.jar;C:\Program Files\Java\jdk1
6.0_14\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_14\jre\lib\jsse.ja
;C:\Program Files\Java\jdk1.6.0_14\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6
0_14\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_14\jre\classes</str>
<str name="classpath">C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example
C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jetty-6.1.3.jar;C:\
ygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jetty-util-6.1.3.jar;C:
cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\servlet-api-2.5-6.1.3.
ar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\ant-1.6.
.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\core-3
1.1.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\jsp
2.1.jar;C:\cygwin\home\work\open\solr-1.4\release-1.4.1\example\lib\jsp-2.1\jsp
api-2.1.jar</str>
<arr name="commandLineArgs"/>
<date name="startTime">2010-07-06T05:48:53.405Z</date>
<long name="upTimeMS">19001</long>
</lst>
</lst>
<lst name="system">
<str name="name">Windows Vista</str>
<str name="version">6.0</str>
<str name="arch">amd64</str>
<double name="systemLoadAverage">-1.0</double>
</lst>
</response>
SolrInfoMBeanHandler
Solr3.1 This handler returns a full inventory of the SolrMBean objects in the instance. These include most of the heavyweight objects in Solr. It is generally a replacement for admin/stats.jsp, and makes rolling your own monitoring of Solr without using JMX much simpler.
Example URLs
Assuming you have this handler mapped to "/admin/mbeans" in solrconfig.xml and are running the example on port localhost:8983, visit:
/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache&key=filterCache
/admin/mbeans?stats=true&cat=CACHE&key=queryResultCache&wt=json&indent=true
ThreadDumpHandler
Gives a list of all of the threads in the Java VM. Equivalent to the Java thread dump feature.
SystemInformationRequestHandlers (last edited 2011-09-21 18:51:54 by EricPugh)
- Immutable Page
- Comments
- Info
- Attachments
- More Actions:
Raw Text
Print View
Render as Docbook
Delete Cache
------------------------
Check Spelling
Like Pages
Local Site Map
------------------------
Rename Page
Copy Page
Delete Page
------------------------
My Pages
Subscribe User
------------------------
Remove Spam
Revert to this revision
Package Pages
Sync Pages
------------------------
Load
Save
SlideShow
SystemInformationRequestHandlers的更多相关文章
随机推荐
- jsapi4加载的首个图层的范围被默认作为地图范围,且不能修改的解决
在map加载的第一个图层的图层范围(fullExtent),会被默认设置为map的全图范围,且不能更改,从一般地图控件角度来说,应该有fullExtent属性,作为地图的全图范围,但很遗憾jsapi4 ...
- 《Python基础教程》 读书笔记 第六章 抽象 函数 参数
6.1创建函数 函数是可以调用(可能包含参数,也就是放在圆括号中的值),它执行某种行为并且返回一个值.一般来说,内建的callable函数可以用来判断函数是否可调用: >>> x=1 ...
- Selenium私房菜系列2 -- XPath的使用【ZZ】
在编写Selenium案例时,少不免是要用到XPath的,现在外面关于XPath使用的参考资料很多,下面我直接转一篇关于XPath使用的文档.如果对XPath不熟悉请参考下文,你不需要去百度/Goog ...
- SPOJ COT2 Count on a tree II (树上莫队,倍增算法求LCA)
题意:给一个树图,每个点的点权(比如颜色编号),m个询问,每个询问是一个区间[a,b],图中两点之间唯一路径上有多少个不同点权(即多少种颜色).n<40000,m<100000. 思路:无 ...
- Eclipse添加默认的JRE
打开eclipse,依次点击如下选项Window->Preferences-> Java -> Installed JREs.步骤见下图. 选中Installed JREs选项出 ...
- SQLite-And和OR运算符
SQLite - AND 和 OR 运算符 SQLite AND . OR运算符用于编译多个条件缩小在一个SQLite声明中选定的数据.这两个操作符被称为连接的操作符. 这些操作符与不同操作提供了一种 ...
- js toString() 方法 Number() 方法 等 类型转换
1.1 数字类型转字符串 String() 变量.toString() toString() 方法 toString() 方法可把一个逻辑值转换为字符串,并返回结果. 1.2 字符串转数字类型 Num ...
- 1.1 NLP基础技能,字符串的处理
#!/usr/bin/env python # coding: utf-8 # # 字符串操作 # ### 去空格和特殊字符 # In[8]: s = " hello world! &quo ...
- Java后端学习路线_备战
SpringCloud项目实战 Dubbo项目实战 项目实战应涵括哪些技术: 缓存.消息队列 WEB应用服务器(Weblogic.Jetty.JBoss.WebSphere) NoSQL(MongoD ...
- 穷举(四):POJ上的两道穷举例题POJ 1411和POJ 1753
下面给出两道POJ上的问题,看如何用穷举法解决. [例9]Calling Extraterrestrial Intelligence Again(POJ 1411) Description A mes ...