apache / apache/lucene

small exception message improvements for RegExp and SpanNearQuery [LUCENE-4305]

Open
#5,373 3 comments 0 reactions 0 assignees View on GitHub
affects-version:4.0-BETA legacy-jira-priority:Minor type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Find attached a suggestion on how two exceptions could be made a bit more verbose for easier debugging.

---
Migrated from [LUCENE-4305](https://issues.apache.org/jira/browse/LUCENE-4305) by Daniel Naber, updated Aug 14 2012
Attachments: [lucene_exception_text.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4305/lucene_exception_text.patch)

Contributor guide

Open the contributing guide

Research direction

Review the attached lucene_exception_text.patch first; the requested changes concern exception messages for RegExp and SpanNearQuery. Locate those exception messages and compare them with the patch, then verify that both messages provide the suggested additional debugging context.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.