[ 
https://issues.apache.org/jira/browse/SOLR-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Kotthoff updated SOLR-657:
-------------------------------

    Attachment: SOLR-657.patch

Patch replacing some of the deprecated stuff with non-deprecated equivalents. 
I've only replaced things which I think I understand and ran the tests to 
verify that nothing is obviously broken, but nevertheless somebody else should 
have a look at it.

Use of deprecated methods and constructors remains in:
* SolrIndexWriter, using Lucene IndexWriter(Directory, boolean, Analyzer, 
boolean)
* CommonsHttpSolrServer, using SolrException(int, String)
* SolrIndexSearcher, using Lucene Filter.bits(IndexReader), Lucene 
Searcher.search(Query, Filter, Sort), Searcher.search(Query, Filter), 
Searcher.search(Query, Sort), deprecated Lucene type Hits
* SolrQueryParser, using IndexSchema.getDefaultSearchFieldName()
* QueryParsing, using SolrCore.getSolrCore()
* DirectSolrConnection, using SolrCore.getSolrCore()
* FastInputStream, using Java DataInputStream.readLine()
* BasicFunctionalityTest, using TestHarness.update(String)

> Replace deprecated calls with the non-deprecated equivalents
> ------------------------------------------------------------
>
>                 Key: SOLR-657
>                 URL: https://issues.apache.org/jira/browse/SOLR-657
>             Project: Solr
>          Issue Type: Task
>    Affects Versions: 1.3
>            Reporter: Lars Kotthoff
>         Attachments: SOLR-657.patch
>
>
> There are numerous calls to deprecated constructors and methods in the code 
> base. This includes deprecations from Solr itself, Lucene, and Java.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to