Deprecated API


Contents
Deprecated Interfaces
org.apache.solr.common.ResourceLoader
          This interface has been kept for backwards compatibility and will be removed in (5.0). Use ResourceLoader 
org.apache.solr.util.plugin.ResourceLoaderAware
          This interface has been kept for backwards compatibility and will be removed in (5.0). Use ResourceLoaderAware. 
 

Deprecated Classes
org.apache.solr.analysis.ArabicLetterTokenizerFactory
          (3.1) Use StandardTokenizerFactory instead. 
org.apache.solr.handler.BinaryUpdateRequestHandler
           
org.apache.solr.handler.dataimport.CachedSqlEntityProcessor
          - Use SqlEntityProcessor with cacheImpl parameter. 
org.apache.solr.analysis.ChineseFilterFactory
          Use StopFilterFactory instead. 
org.apache.solr.analysis.ChineseTokenizerFactory
          Use StandardTokenizerFactory instead. 
org.apache.solr.analysis.CJKTokenizerFactory
            
org.apache.solr.analysis.CollationKeyFilterFactory
          use CollationField instead. 
org.apache.solr.handler.CSVRequestHandler
           
org.apache.solr.handler.dataimport.HttpDataSource
          use URLDataSource instead 
org.apache.solr.analysis.ICUCollationKeyFilterFactory
          use ICUCollationField instead. 
org.apache.solr.handler.JsonUpdateRequestHandler
           
org.apache.solr.analysis.LegacyHTMLStripCharFilter
          use HTMLStripCharFilter 
org.apache.solr.analysis.LegacyHTMLStripCharFilterFactory
          use HTMLStripCharFilterFactory 
org.apache.solr.analysis.RussianLetterTokenizerFactory
          Use StandardTokenizerFactory instead. This tokenizer has no Russian-specific functionality. 
org.apache.solr.schema.SortableDoubleField
          use DoubleField or TrieDoubleField - will be removed in 5.x 
org.apache.solr.schema.SortableFloatField
          use FloatField or TrieFloatField - will be removed in 5.x 
org.apache.solr.schema.SortableIntField
          use IntField or TrieIntField - will be removed in 5.x 
org.apache.solr.schema.SortableLongField
          use LongField or TrieLongField - will be removed in 5.x 
org.apache.solr.handler.XmlUpdateRequestHandler
           
org.apache.solr.handler.XsltUpdateRequestHandler
           
 

Deprecated Enums
org.apache.solr.common.params.FacetParams.FacetDateOther
          Use FacetParams.FacetRangeOther 
 

Deprecated Fields
org.apache.solr.core.SolrConfig.defaultIndexConfig
           
org.apache.solr.client.solrj.util.ClientUtils.fmts
          Use DateUtil.DEFAULT_DATE_FORMATS 
org.apache.solr.handler.dataimport.config.ConfigNameConstants.IMPORTER_NS
          use IMPORTER_NS_SHORT instead 
org.apache.solr.core.SolrConfig.mainIndexConfig
           
org.apache.solr.schema.DateField.MATH_LOCALE
          use DateMathParser.DEFAULT_MATH_LOCALE 
org.apache.solr.schema.DateField.MATH_TZ
          use DateMathParser.DEFAULT_MATH_TZ 
org.apache.solr.client.solrj.util.ClientUtils.UTC
          Use DateUtil.UTC. 
 

Deprecated Methods
org.apache.solr.analysis.SolrAnalyzer.charStream(Reader)
           
org.apache.solr.handler.clustering.SearchClusteringEngine.cluster(Query, DocList, SolrQueryRequest)
           
org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.cluster(Query, DocList, SolrQueryRequest)
           
org.apache.solr.request.SimpleFacets.getFacetDateCounts()
          Use getFacetRangeCounts which is more generalized 
org.apache.solr.request.SimpleFacets.getFacetDateCounts(String, NamedList)
          Use getFacetRangeCounts which is more generalized 
org.apache.solr.client.solrj.SolrQuery.getFacetSort()
          Use SolrQuery.getFacetSortString() instead. 
org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(DirectoryReader, boolean)
          use LukeRequestHandler.getIndexInfo(DirectoryReader) since you now have to explicitly pass the "fl" prameter and this was always called with "false" anyway from CoreAdminHandler 
org.apache.solr.handler.MoreLikeThisHandler.MoreLikeThisHelper.getMoreLikeThese(DocList, int, int)
           
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.getParsedResponse(SolrQueryRequest, SolrQueryResponse)
          use BinaryResponseWriter.getParsedResponse(SolrQueryRequest, SolrQueryResponse) 
org.apache.solr.client.solrj.SolrQuery.getQueryType()
          See SolrQuery.getRequestHandler(). 
org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion.getSuggestionFrequencies()
           
org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion.getSuggestions()
           
org.apache.solr.schema.DateField.getThreadLocalDateFormat()
          - use formatDate(Date) instead 
org.apache.solr.client.solrj.util.ClientUtils.getThreadLocalDateFormat()
          use DateUtil.getThreadLocalDateFormat() 
org.apache.solr.handler.admin.CoreAdminHandler.handleAliasAction(SolrQueryRequest, SolrQueryResponse)
           
org.apache.solr.highlight.DefaultSolrHighlighter.initalize(SolrConfig)
           
org.apache.solr.highlight.SolrHighlighter.initalize(SolrConfig)
           
org.apache.solr.schema.SchemaField.omitTf()
          Use SchemaField.omitTermFreqAndPositions() 
org.apache.solr.client.solrj.util.ClientUtils.parseDate(String)
          Use DateUtil.parseDate(String) 
org.apache.solr.util.SimplePostTool.postData(InputStream, Integer, OutputStream)
          use SimplePostTool.postData(InputStream, Integer, OutputStream, String) instead 
org.apache.solr.util.SimplePostTool.postFile(File, OutputStream)
          use SimplePostTool.postFile(File, OutputStream, String) instead 
org.apache.solr.request.SimpleFacets.rangeCount(SchemaField, Date, Date, boolean, boolean)
          Use rangeCount(SchemaField,String,String,boolean,boolean) which is more generalized 
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) 
org.apache.solr.client.solrj.SolrQuery.setQueryType(String)
          See SolrQuery.setRequestHandler(String). 
 

Deprecated Constructors
org.apache.solr.common.params.AppendedSolrParams(SolrParams, SolrParams)
          (3.6) Use SolrParams.wrapAppended(SolrParams, SolrParams) instead. 
org.apache.solr.core.CoreContainer()
          use the single arg constructure with locateSolrHome() 
org.apache.solr.internal.csv.CSVParser(InputStream)
          use CSVParser.CSVParser(Reader). 
org.apache.solr.internal.csv.CSVParser(Reader, char)
          use CSVParser.CSVParser(Reader,CSVStrategy). 
org.apache.solr.internal.csv.CSVParser(Reader, char, char, char)
          use CSVParser.CSVParser(Reader,CSVStrategy). 
org.apache.solr.internal.csv.CSVStrategy(char, char, char, boolean, boolean, boolean)
            
org.apache.solr.common.params.DefaultSolrParams(SolrParams, SolrParams)
          (3.6) Use SolrParams.wrapDefaults(SolrParams, SolrParams) instead. 
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer(SolrCore)
            
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)
           
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.