[SERVER-55604] Allow $text queries on time series views for metadata Created: 29/Mar/21  Updated: 02/Jan/24  Resolved: 02/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Jacob Evans Assignee: Backlog - Query Integration
Resolution: Won't Do Votes: 0
Labels: qi-text-search, qi-timeseries, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Integration
Participants:

 Description   

This work is dependant on support for text indexes on time-series collections.

We'd need to change the parsing behavior to specifically allow $text on a time series view. Currently $text must be with a $match at the beginning of the pipeline and is also specifically banned on views (although there is no custom error message).

We'd also need to ensure that the meta predicate pushdown code written for SERVER-53484 handles text predicates. Tests can be added to pipeline/document_source_internal_unpack_bucket_test/

We should think about the ramifications of this patch. Currently optimization is entirely optional. How should we organize the code for a mandatory rewrite?


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