apache / apache/lucene

remove deprecations from trunk [LUCENE-4095]

Open
#5,167 2 comments 0 reactions 1 assignee Claimed by @rmuir View on GitHub
affects-version:5.0 legacy-jira-fix-version:5.0 legacy-jira-priority:Major type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

We should remove the deprecated code from trunk.

This also has benefits to 4x branch, particularly:
- we should backport fixes to tests to avoid deprecated methods, e.g. IndexReader.open -> DirectoryReader.open. Of course I will add specific deprecated tests testing the back compat. This is all very important to
ensure easier merging from trunk->4x for the future.
- by removing deprecated methods, I found some minor doc bugs, such as javadocs linking to deprecated stuff. I would like to backport these docs fixes as well.

---
Migrated from [LUCENE-4095](https://issues.apache.org/jira/browse/LUCENE-4095) by Robert Muir (@rmuir), updated Oct 11 2016
Attachments: [LUCENE-4095.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4095/LUCENE-4095.patch)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.