ZCatalog 2.13.12 doesn't preserve relevance in search results
Bug #815469 reported by
Ross Patterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Hanno Schlichting |
Bug Description
The change log for ZCatalog 2.13.12 says:
"Replaced `weightedInters
But the BTrees.Interfaces documents:
"def weightedInterse
Meaning that by default, both results sets are given equal weight. IOW, the wieghts provided by _apply_index still have an effect when weight1 and weight2 are not provided. I have tests asserting relevance in search results order that pass under previous versions but fail under this version. Please restore the use of weightedInterse
Changed in zope2: | |
assignee: | nobody → Hanno Schlichting (hannosch) |
status: | New → Confirmed |
To post a comment you must log in.
As an afterthought, it's pretty surprising that ZCatalog doesn't have test coverage on relevance sorting.