apache / apache/lucene

SynonymGraphFilter cannot consume a graph token stream [LUCENE-9966]

Open
#11,005 1 comment 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor module:analysis type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

SynonymGraphFilter cannot take a graph token stream as input. This limitation is documented in SynonymGraphFilter. There are multiple tickets reporting this issue with SynonymGraphFilter.
#10028
#10164
#10213

Some tickets have proposed fixes.
#6076
#10028

From this [email chain](https://lists.apache.org/thread.html/rcef29279940bd8fcc0b6f2165cd25fa8c1230dc4252f6dafbe9bbc6a%40%3Cjava-user.lucene.apache.org%3E) we would like to get SynonymGraphFilter correctly consuming graph token streams

---
Migrated from [LUCENE-9966](https://issues.apache.org/jira/browse/LUCENE-9966) by Geoffrey Lawson (@glawson0), updated May 24 2021

Contributor guide

Open the contributing guide

Research direction

Start with the SynonymGraphFilter documentation and the linked tickets #10028, #10164, #10213, and proposed fixes #6076 and #10028. Read the referenced email chain for the expected behavior, then determine how to verify that SynonymGraphFilter correctly consumes graph token streams. Done means the documented limitation is resolved and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.