WordDelimiterGraphFilter doesn't split HTTPRequest properly [LUCENE-7929]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
The current implementation of WordDelimiterGraphFilter doesn't properly deal with all uppercase parts, and also it doesn't handle numbers well in some cases.
I've created a pull request with changes to fix that: https://github.com/apache/lucene-solr/pull/231
With my patch HTTPRequest is split into HTTP and Request.
---
Migrated from [LUCENE-7929](https://issues.apache.org/jira/browse/LUCENE-7929) by Nicolás Lichtmaier (@niqueco), updated Mar 08 2019
Contributor guide
Research direction
Start with WordDelimiterGraphFilter and the behavior described in PR 231. Reproduce how HTTPRequest and inputs containing numbers are split, then compare the current behavior with the pull request's proposed changes. Done means uppercase components and affected numeric cases are split correctly without regressions.
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
- Mostly clear
- Newbie friendliness
- 25/100