apache / apache/lucene

Revise PositionIncrement in StopFilter / QueryParser [LUCENE-2099]

Open
#3,175 3 comments 0 reactions 0 assignees View on GitHub
legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 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

Based on the discussion in #3170 the way PositionIncrement in StopFiter and QueryParser should be revised and at least extensively documented.
This issue is a follow-up for the discussion in #3170.

---
Migrated from [LUCENE-2099](https://issues.apache.org/jira/browse/LUCENE-2099) by Simon Willnauer (@s1monw), updated May 09 2016
Attachments: [LUCENE-2099.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-2099/LUCENE-2099.patch)
Linked issues:
- #3170

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in #3170 and the attached LUCENE-2099.patch, then inspect the StopFilter and QueryParser entry points. The issue is done when the agreed PositionIncrement behavior is revised and extensively documented, but the expected semantics are not specified here.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
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.