SurroundQuery doesn't support SpanNot [LUCENE-2968]
Open
legacy-jira-priority:Minor
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
It would be nice if we could do span not in the surround query, as they are quite useful for keeping searches within a boundary (say a sentence)
---
Migrated from [LUCENE-2968](https://issues.apache.org/jira/browse/LUCENE-2968) by Grant Ingersoll (@gsingers), updated Mar 17 2011
Contributor guide
Research direction
Start by locating the Java implementations of SurroundQuery and SpanNot and read how existing surround clauses are parsed and executed. Trace the relevant query tests, then define done as SurroundQuery accepting SpanNot while preserving the intended sentence or other boundary 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
- Mostly clear
- Newbie friendliness
- 35/100