Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions lucene_10_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@
- **Lucene Change:** `MIGRATE.md` lines 149‑153.
- **Action Required:** Use `IndexSearcher#getTaskExecutor` when access to the executor is required.
- **Dependencies:** None
- [ ] **HIGH** Query rewrite API: Pass `IndexSearcher` instead of `IndexReader` to `Query#rewrite`.
- **Impact:** Existing calls to `.rewrite(IndexReader)` cause compilation errors.
- **Location:** `solr/core/src/java/org/apache/solr/query/FilterQuery.java`, `solr/core/src/java/org/apache/solr/update/DeleteByQueryWrapper.java`, `solr/core/src/java/org/apache/solr/search/ExportQParserPlugin.java`, `solr/core/src/java/org/apache/solr/search/MatchCostQuery.java`, `solr/core/src/java/org/apache/solr/search/WrappedQuery.java`, `solr/core/src/java/org/apache/solr/search/AbstractReRankQuery.java`, `solr/core/src/java/org/apache/solr/search/JoinQuery.java`.
- **Lucene Change:** `CHANGES.txt` lines 404-409.
- **Action Required:** Update call sites to use `IndexSearcher` and adjust surrounding logic.
- **Dependencies:** None

- [ ] **HIGH** Suggesters weight API: adapt to `Long` and `double` return types.
- **Impact:** Code using primitive `long` may fail to compile or behave incorrectly.
- **Location:** `solr/core/src/java/org/apache/solr/spelling/suggest/jaspell/JaspellLookup.java` and any custom suggester implementations.
- **Lucene Change:** `MIGRATE.md` lines 666-670.
- **Action Required:** Unbox or convert returned weight values and adjust variable types.
- **Dependencies:** None


## Behavioral Changes
- [ ] **HIGH** Faceting: `LongRangeFacetCounts#getTopChildren` and `DoubleRangeFacetCounts#getTopChildren` now return only the top‑n ranges.
Expand Down
Loading