Affects Version/s: None
Fix Version/s: None
Lucene Fields:New, Patch Available
This is a request for a modification to SpanFirstQuery that would allow term boosting based on a term's distance from the beginning of the document.
This modification to SpanFirstQuery would be that the Spans returned by SpanFirstQuery.getSpans() must always return 0 from its start() method. Then the slop passed to sloppyFreq(slop) would be the distance from the beginning of the indexed field to the end of the Spans of the SpanQuery passed to SpanFirstQuery.
Here is the discussion behind this issue:
|Lucene Fields||[New]||[New, Patch Available]|
|Priority||Major [ 3 ]||Minor [ 4 ]|
|Workflow||jira [ 12419547 ]||Default workflow, editable Closed status [ 12562669 ]|
|Workflow||Default workflow, editable Closed status [ 12562669 ]||jira [ 12583606 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|