Ticket #307 (assigned enhancement)
OP_SYNONYM should allow field weights to be set on its members
| Reported by: | richard | Owned by: | richard |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.1 |
| Component: | Matcher | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | #50 | |
| Operating System: | All | Blocking: |
Description (last modified by olly) (diff)
Currently, OP_SYNONYM simply adds up the wdfs of the member terms to calculate the wdf of the resulting item. However, it might be useful to allow OP_SYNONYM to be told to modify the wdfs of the member terms (using an integer multiplier). This would correspond functionally to the "weight" function implemented in scriptindex, which allows the weight of a field to be modified at index time by multiplying the wdf, but would allow the weights to be adjusted at search-time without requiring a re-index.
I'm not sure where in the API this would fit, but it's something to consider before merging the OP_SYNONYM branch to trunk.
Change History
Note: See
TracTickets for help on using
tickets.
