Deprecated API


Contents
Deprecated Classes
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer
          Use HttpSolrServer instead. 
org.apache.solr.common.util.NamedListCodec
          use JavaBinCodec instead 
org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer
          use ConcurrentUpdateSolrServer instead. 
 

Deprecated Enums
org.apache.solr.common.params.FacetParams.FacetDateOther
          Use FacetParams.FacetRangeOther 
org.apache.solr.client.solrj.request.UpdateRequest.ACTION
          Use AbstractUpdateRequest.ACTION instead 
 

Deprecated Fields
org.apache.solr.client.solrj.util.ClientUtils.fmts
          Use DateUtil.DEFAULT_DATE_FORMATS 
org.apache.solr.common.SolrException.logged
          Logging should now occur from the top-most level, making this unnecessary in 4.x 
org.apache.solr.client.solrj.util.ClientUtils.UTC
          Use DateUtil.UTC. 
 

Deprecated Methods
org.apache.solr.client.solrj.SolrQuery.getFacetSort()
          Use SolrQuery.getFacetSortString() instead. 
org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion.getSuggestionFrequencies()
           
org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion.getSuggestions()
           
org.apache.solr.client.solrj.util.ClientUtils.getThreadLocalDateFormat()
          use DateUtil.getThreadLocalDateFormat() 
org.apache.solr.common.SolrException.logOnce(Logger, String, Throwable)
          use SolrException.log(Logger, String, Throwable) 
org.apache.solr.common.params.SolrParams.parseBool(String)
          Use org.apache.solr.common.util.StrUtils.parseBool 
org.apache.solr.client.solrj.util.ClientUtils.parseDate(String)
          Use DateUtil.parseDate(String) 
org.apache.solr.client.solrj.request.UpdateRequest.setAction(UpdateRequest.ACTION, boolean, boolean)
          Use AbstractUpdateRequest.ACTION instead 
org.apache.solr.client.solrj.request.UpdateRequest.setAction(UpdateRequest.ACTION, boolean, boolean, int)
          Use AbstractUpdateRequest.ACTION instead 
org.apache.solr.client.solrj.request.UpdateRequest.setAction(UpdateRequest.ACTION, boolean, boolean, int, boolean)
          Use AbstractUpdateRequest.ACTION instead 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.setConnectionManagerTimeout(int)
          Use CommonsHttpSolrServer.setConnectionManagerTimeout(long) 
org.apache.solr.client.solrj.SolrQuery.setFacetSort(boolean)
          Use SolrQuery.setFacetSort(String) instead, true corresponds to FacetParams.FACET_SORT_COUNT and false to FacetParams.FACET_SORT_INDEX. 
org.apache.solr.client.solrj.SolrQuery.setMissing(String)
          use SolrQuery.setFacetMissing(Boolean) 
 

Deprecated Constructors
org.apache.solr.common.params.AppendedSolrParams(SolrParams, SolrParams)
          (3.6) Use SolrParams.wrapAppended(SolrParams, SolrParams) instead. 
org.apache.solr.common.params.DefaultSolrParams(SolrParams, SolrParams)
          (3.6) Use SolrParams.wrapDefaults(SolrParams, SolrParams) instead. 
org.apache.solr.common.util.NamedList(List)
          Use NamedList.NamedList(java.util.Map.Entry[]) for the NamedList instantiation 
org.apache.solr.common.util.SimpleOrderedMap(List)
           
org.apache.solr.common.SolrException(int, String)
          Use SolrException.SolrException(ErrorCode,String). 
org.apache.solr.common.SolrException(int, String, boolean)
          Use SolrException.SolrException(ErrorCode,String,boolean). 
org.apache.solr.common.SolrException(int, String, Throwable)
          Use SolrException.SolrException(ErrorCode,String,Throwable). 
org.apache.solr.common.SolrException(int, String, Throwable, boolean)
          Use SolrException.SolrException(ErrorCode,String,Throwable,boolean). 
org.apache.solr.common.SolrException(int, Throwable)
          Use SolrException.SolrException(ErrorCode,Throwable). 
org.apache.solr.common.SolrException(SolrException.ErrorCode, String, boolean)
          Logging should now occur from the top-most level, making this unnecessary in 4.x. use SolrException.SolrException(ErrorCode, String) 
org.apache.solr.common.SolrException(SolrException.ErrorCode, String, Throwable, boolean)
          Logging should now occur from the top-most level, making this unnecessary in 4.x use SolrException.SolrException(ErrorCode, String, Throwable) 
 

Deprecated Enum Constants
org.apache.solr.common.params.CoreAdminParams.CoreAdminAction.ALIAS