[SERVER-85009] Propose progressive sort on time-series using $geoNear with sub-pipeline Created: 29/Jun/21  Updated: 12/Jan/24  Resolved: 09/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: David Percy Assignee: David Percy
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query Optimization 2021-07-12
Participants:

 Description   

$geoNear progressively scans larger and larger regions of the index.  But for time-series we want it to scan larger and larger sets of unpacked events.  Can we express this with separate operators for geo and bucketing?

Maybe $geoNear can accept a sub-pipeline to use as its source of points.

Let's describe this approach in the design doc and get some feedback.



 Comments   
Comment by David Percy [ 08/Jul/21 ]

I added a section here: https://docs.google.com/document/d/1UjSC3yOOYnyvzLe1sMOTK6k7mRc_Zk8-WSH_S-tjSuk/edit#heading=h.wytmz3wwa456

Generated at Thu Feb 08 06:56:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.