From adf3dff354246906d26f7cd1df69c50250e421b0 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 28 Aug 2008 22:18:49 +0000 Subject: [PATCH] remove experimental warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@690025 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/handler/AnalysisRequestHandler.java | 1 - src/java/org/apache/solr/handler/MoreLikeThisHandler.java | 2 -- src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java | 4 +--- .../org/apache/solr/handler/admin/LukeRequestHandler.java | 4 +--- src/java/org/apache/solr/handler/admin/PluginInfoHandler.java | 1 - .../org/apache/solr/handler/admin/ShowFileRequestHandler.java | 3 --- src/java/org/apache/solr/handler/admin/SystemInfoHandler.java | 2 -- src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java | 4 +--- 8 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/java/org/apache/solr/handler/AnalysisRequestHandler.java b/src/java/org/apache/solr/handler/AnalysisRequestHandler.java index bdabd579f58..6de3248f312 100644 --- a/src/java/org/apache/solr/handler/AnalysisRequestHandler.java +++ b/src/java/org/apache/solr/handler/AnalysisRequestHandler.java @@ -77,7 +77,6 @@ public class AnalysisRequestHandler extends RequestHandlerBase { } public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { - RequestHandlerUtils.addExperimentalFormatWarning(rsp); SolrParams params = req.getParams(); Iterable streams = req.getContentStreams(); if (streams != null) { diff --git a/src/java/org/apache/solr/handler/MoreLikeThisHandler.java b/src/java/org/apache/solr/handler/MoreLikeThisHandler.java index 3b8453dc12a..7807c90d80c 100644 --- a/src/java/org/apache/solr/handler/MoreLikeThisHandler.java +++ b/src/java/org/apache/solr/handler/MoreLikeThisHandler.java @@ -81,8 +81,6 @@ public class MoreLikeThisHandler extends RequestHandlerBase @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); - SolrParams params = req.getParams(); SolrIndexSearcher searcher = req.getSearcher(); diff --git a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java index 9c5bf6c8898..260dbe4e85d 100644 --- a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java +++ b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java @@ -102,9 +102,7 @@ public class XmlUpdateRequestHandler extends RequestHandlerBase @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception - { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); - + { SolrParams params = req.getParams(); UpdateRequestProcessorChain processingChain = req.getCore().getUpdateProcessingChain( params.get( UpdateParams.UPDATE_PROCESSOR ) ); diff --git a/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java b/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java index dc68f97bd25..046cbc276a2 100644 --- a/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java +++ b/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java @@ -91,9 +91,7 @@ public class LukeRequestHandler extends RequestHandlerBase @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception - { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); - + { IndexSchema schema = req.getSchema(); SolrIndexSearcher searcher = req.getSearcher(); IndexReader reader = searcher.getReader(); diff --git a/src/java/org/apache/solr/handler/admin/PluginInfoHandler.java b/src/java/org/apache/solr/handler/admin/PluginInfoHandler.java index 8020237b133..3e68899f975 100644 --- a/src/java/org/apache/solr/handler/admin/PluginInfoHandler.java +++ b/src/java/org/apache/solr/handler/admin/PluginInfoHandler.java @@ -45,7 +45,6 @@ public class PluginInfoHandler extends RequestHandlerBase @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); SolrParams params = req.getParams(); boolean stats = params.getBool( "stats", false ); diff --git a/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java b/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java index f845e9c11a2..53f127bb0b6 100644 --- a/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java +++ b/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java @@ -148,9 +148,6 @@ public class ShowFileRequestHandler extends RequestHandlerBase + " ["+adminFile.getAbsolutePath()+"]" ); } - // Add a warning - RequestHandlerUtils.addExperimentalFormatWarning(rsp); - // Show a directory listing if( adminFile.isDirectory() ) { diff --git a/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java b/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java index ec185a0038c..ba2adda634e 100644 --- a/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java +++ b/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java @@ -59,8 +59,6 @@ public class SystemInfoHandler extends RequestHandlerBase @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); - rsp.add( "core", getCoreInfo( req.getCore() ) ); rsp.add( "lucene", getLuceneInfo() ); rsp.add( "jvm", getJvmInfo() ); diff --git a/src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java b/src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java index 59c0bfe8d29..7ad0d655259 100644 --- a/src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java +++ b/src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java @@ -43,9 +43,7 @@ public class ThreadDumpHandler extends RequestHandlerBase { @Override public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws IOException - { - RequestHandlerUtils.addExperimentalFormatWarning( rsp ); - + { SimpleOrderedMap system = new SimpleOrderedMap(); rsp.add( "system", system );