[Xapian-tickets] [Xapian] #810: LMWeight implementation issues

Xapian nobody at xapian.org
Mon Jun 10 02:18:59 BST 2024


#810: LMWeight implementation issues
-------------------------+-------------------------------
 Reporter:  Olly Betts   |             Owner:  Olly Betts
     Type:  defect       |            Status:  assigned
 Priority:  highest      |         Milestone:  1.5.0
Component:  Library API  |           Version:  git master
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------------
Changes (by Olly Betts):

 * status:  new => assigned

Comment:

 Rechecking for the current code (and my WIP fix for the LMWeight incorrect
 implementaiton) these stats are for the current shard and made available
 to the term-independent weight contribution weight:

 * `DOC_LENGTH_MAX`
 * `DOC_LENGTH_MIN`

 These weighting schemes include a term-independent weight:

 * `BM25PlusWeight` - safe
 * `BM25Weight` - safe
 * `LMWeight` - corrected versions of Dirichlet/Dir+, Absolute Discount,
 Two Stage (in WIP) use `DOC_LENGTH_MAX` in `get_sumextra()` (via cached
 value computed in `init()`
-- 
Ticket URL: <https://trac.xapian.org/ticket/810#comment:5>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list