Author: yonik
Date: Thu Feb 23 13:35:34 2006
New Revision: 380231
URL: http://svn.apache.org/viewcvs?rev=380231&view=rev
Log:
remove unneeded solar-status
Removed:
incubator/solr/trunk/src/webapp/resources/admin/solar-status.jsp
incubator/solr/trunk/src/webapp/resources/admin/status.xsl
Modified:
incubator/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
incubator/solr/trunk/src/webapp/resources/admin/index.jsp
Modified: incubator/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
URL:
http://svn.apache.org/viewcvs/incubator/solr/trunk/src/java/org/apache/solr/core/SolrCore.java?rev=380231&r1=380230&r2=380231&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/core/SolrCore.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/core/SolrCore.java Thu Feb 23
13:35:34 2006
@@ -113,24 +113,6 @@
}
- // TODO - what about a master that not might have a searcher normally open?
- @Deprecated
- public int maxDoc() {
- RefCounted<SolrIndexSearcher> holder=null;
- int num=0;
- try {
- holder = getSearcher();
- SolrIndexSearcher searcher = holder.get();
- num = searcher.maxDoc();
- } catch (IOException e) {
- log(e);
- } finally {
- if (holder != null) holder.decref();
- }
- return num;
- }
-
-
// gets a non-caching searcher
public SolrIndexSearcher newSearcher(String name) throws IOException {
return new SolrIndexSearcher(schema, name,getDataDir(),false);
Modified: incubator/solr/trunk/src/webapp/resources/admin/index.jsp
URL:
http://svn.apache.org/viewcvs/incubator/solr/trunk/src/webapp/resources/admin/index.jsp?rev=380231&r1=380230&r2=380231&view=diff
==============================================================================
--- incubator/solr/trunk/src/webapp/resources/admin/index.jsp (original)
+++ incubator/solr/trunk/src/webapp/resources/admin/index.jsp Thu Feb 23
13:35:34 2006
@@ -17,7 +17,6 @@
<h3>Solr</h3>
</td>
<td>
- [<a href="solar-status">Status</a>]
[<a href="get-file.jsp?file=schema.xml">Schema</a>]
[<a href="get-file.jsp?file=solrconfig.xml">Config</a>]
[<a href="analysis.jsp?highlight=on">Analysis</a>]