| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This patch includes also moves ownership of the collator to the ExpressionContext.
|
|
|
|
|
|
| |
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
| |
|
|
|
|
|
|
| |
There are some `using std::` using statements in headers that are
at namespace scope. These cause unnecessary namespace pollution;
thus they need to be removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this change, text queries use the non-blocking OR stage in place
of the blocking TEXT_OR stage when it is not necessary to compute the
text score (because the projection does not call for it).
We also removed the unnecessary MatchableTextDocument object with this
change. This object was used in the TEXT_OR stage to apply a filter to
index entries. The query planner adds search predicates as a filter in
the OR/TEXT_OR stage when they can be covered by the index, allowing
them to get filtered out before the full document need be examined
However, the OR stage uses an IndexMatchableDocument which does almost
the same thing. The only difference is that TextMatchableDocument will
fetch documents if the index does not cover the filter. Since that
should never happen (if the query planner is doing its job right), we
shouldn't need TextMatchableDocument.
|
|
|
|
|
| |
Changes PlanStage::work() to be non-virtual. PlanStage::work() now
updates _commonStats and calls new pure virtual method doWork().
|
|
|
|
| |
Groundwork for upcoming change to introduce a "no-op" text query.
|
|
|
|
| |
base class
|
| |
|
|
|
|
| |
This is prep for adding more methods that need to propagate to children.
|
|
Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
|