Generated a test case for this issue (TestProximityIterablePosting) that this addition fails.
We need to define what block distance in proximity means.
Example:
Document: "Whenever you win a coin flip, put a luck counter on Chance Encounter"
Query: "coin flip luck"
Window: 3
The current implementation would return this document because window radius is calculated as Window*numQueryTerms (3*3=9)
My expectation is that window radius should be equal to Window?
Generated a test case for this issue (TestProximityIterablePosting) that this addition fails.
We need to define what block distance in proximity means.
Example:
Document: "Whenever you win a coin flip, put a luck counter on Chance Encounter"
Query: "coin flip luck"
Window: 3
The current implementation would return this document because window radius is calculated as Window*numQueryTerms (3*3=9)
My expectation is that window radius should be equal to Window?