apache / apache/lucene

Explainable ConstantScoreQuery [LUCENE-9430]

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

Description

Developer cannot check the result of detailed explain with ConstantScoreQuery.

If the developer want to check it, then must be change the query.

 

The result is the same as ConstantScoreQuery,

but if you can check the detailed explain, it will help in development and debug.

 

So, I make the Pull Request for this :)

---
Migrated from [LUCENE-9430](https://issues.apache.org/jira/browse/LUCENE-9430) by Jehyun Lee, updated Jul 16 2020
Pull requests: https://github.com/apache/lucene-solr/pull/1674

Contributor guide

Open the contributing guide

Research direction

Start at the ConstantScoreQuery entry point and inspect how its detailed explanation is currently produced. Review the existing pull request linked in the issue and related explanation tests, then verify that developers can inspect detailed explain output without changing the query.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.