apache / apache/lucene

AssertionError FlattenGraphFilter [LUCENE-8740]

Open
#9,785 4 comments 0 reactions 0 assignees View on GitHub
affects-version:7.5 affects-version:8.0 legacy-jira-fix-version:8.1 legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Our unit tests picked up an unusual AssertionError in FlattenGraphFilter which manifests itself only in very specific circumstances involving WordDelimiterGraph, StopFilter, FlattenGraphFilter and MinhashFilter.

---
Migrated from [LUCENE-8740](https://issues.apache.org/jira/browse/LUCENE-8740) by Markus Jelsma, updated Dec 08 2021
Attachments: [LUCENE-8740.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8740/LUCENE-8740.patch)
Linked issues:
- #9769

Contributor guide

Open the contributing guide

Research direction

Start with the unit tests covering the interaction of WordDelimiterGraph, StopFilter, FlattenGraphFilter, and MinhashFilter, then review the attached LUCENE-8740.patch and linked issue #9769. Reproduce the AssertionError under the reported circumstances; done means the failure is resolved with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.