apache / apache/lucene

Make PayloadSpanUtil apply to other postings information [LUCENE-6494]

Open
#7,553 31 comments 0 reactions 1 assignee Claimed by @romseygeek View on GitHub
legacy-jira-fix-version:5.2 legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

With the addition of SpanCollectors, we can now get arbitrary postings information from SpanQueries. PayloadSpanUtil does some rewriting to convert non-span queries into SpanQueries so that it can collect payloads. It would be good to make this more generic, so that we can collect any postings information from any query (without having to make invasive changes to already optimized Scorers, etc).

---
Migrated from [LUCENE-6494](https://issues.apache.org/jira/browse/LUCENE-6494) by Alan Woodward (@romseygeek), updated Jun 16 2015
Attachments: [LUCENE-6494.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6494/LUCENE-6494.patch) (versions: 5)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.