[
https://issues.apache.org/jira/browse/LUCENE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Busch updated LUCENE-755:
-
Attachment: payloads.patch
Another one! (previous version didn't apply cleanly anymore after
[
https://issues.apache.org/jira/browse/LUCENE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Busch updated LUCENE-755:
-
Attachment: payloads.patch
Attaching a new patch. The previous one didn't apply cleanly anymore
I haven't looked at your latest patch yet, so this is just guesswork,
but was thinking in TermScorer, around line 75 or so, we could add:
score *= similarity.scorePayload(payloadBuffer);
The default Similarity would just return 1. This would allow people
to incorporate a score based on
Grant Ingersoll wrote:
I haven't looked at your latest patch yet, so this is just guesswork,
but was thinking in TermScorer, around line 75 or so, we could add:
score *= similarity.scorePayload(payloadBuffer);
TermScorer currently doesn't iterate over the positions. It uses a
buffer to load
[
https://issues.apache.org/jira/browse/LUCENE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Busch updated LUCENE-755:
-
Attachment: payloads.patch
I'm attaching the new patch with the following changes:
- applies
Grant Ingersoll wrote:
Cool. I will try and take a look at it tomorrow. Since we have the
lazy SegTermPos thing in now, we should be able to integrate this into
scoring via the Similarity and merge TermDocs and TermPositions like
you suggested.
If I can get the Scoring piece in and people
[
https://issues.apache.org/jira/browse/LUCENE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Lalevée updated LUCENE-755:
---
Attachment: payload.patch
Payloads
Key: LUCENE-755
[ http://issues.apache.org/jira/browse/LUCENE-755?page=all ]
Michael Busch updated LUCENE-755:
-
Attachment: payloads.patch
Payloads
Key: LUCENE-755
URL: http://issues.apache.org/jira/browse/LUCENE-755