apache / apache/lucene

Add AttributeFactory parameter to TokenizerFactory.create() [LUCENE-4379]

Open
#5,445 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Currently the analysis factories don't support using a different attribute factory.

---
Migrated from [LUCENE-4379](https://issues.apache.org/jira/browse/LUCENE-4379) by Robert Muir (@rmuir)

Contributor guide

Open the contributing guide

Research direction

Start by locating TokenizerFactory.create() and the related analysis factory APIs. Review how AttributeFactory is currently handled, then identify the relevant analysis tests; done means factories can use a caller-supplied AttributeFactory without breaking existing creation behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.