Cannot delete individual fields from index [LUCENE-8409]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
This is based upon the following tickets:
https://issues.apache.org/jira/browse/SOLR-12185
#9282
I'd like a way to be able to clear and recreate a specific field so I don't have to completely reindex if I change a field type.
It's a real pain if you change a specific field from single valued to multivalued, you have to delete the entire index from disk and start from scratch.
As being able to modify a field is not an [intended feature](https://issues.apache.org/jira/browse/LUCENE-8235?focusedCommentId=16530918&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16530918), It'd be preferable if a field could be at least deleted and recreated to deal with this scenario.
---
Migrated from [LUCENE-8409](https://issues.apache.org/jira/browse/LUCENE-8409) by Cetra Free
Contributor guide
Research direction
Start by reviewing the linked SOLR-12185, #9282, and LUCENE-8235 tickets to understand the existing constraints around field changes. The issue does not name a file, test, or entry point, so locating the relevant index and field-management code will require project familiarity. Done means a specific field can be deleted and recreated without deleting the entire index or fully reindexing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100