apache / apache/lucene

Simple FieldCache merging [LUCENE-1785]

Open
#2,859 13 comments 0 reactions 0 assignees View on GitHub
affects-version:2.4.1 legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 legacy-jira-priority:Minor module:core/search type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

We'll merge the field caches in RAM as the SegmentReader's are
merged in IndexWriter (the first cut will work in conjunction
with IW.getReader). There will be an optional callback to
determine which fields to merge.

---
Migrated from [LUCENE-1785](https://issues.apache.org/jira/browse/LUCENE-1785) by Jason Rutherglen, updated May 09 2016
Attachments: [LUCENE-1785.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-1785/LUCENE-1785.patch) (versions: 4)
Linked issues:
- [SOLR-1618](https://issues.apache.org/jira/browse/SOLR-1618)

Contributor guide

Open the contributing guide

Research direction

The issue names IndexWriter, IW.getReader, SegmentReader, and FieldCache but no files or tests. Start by tracing the IW.getReader path and how SegmentReaders are merged; done means RAM field caches merge with those readers and an optional callback can select fields for merging.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.