Skip to content

Conversation

@nickldp
Copy link
Contributor

@nickldp nickldp commented Jul 13, 2023

Pull Request Info

PR Reviewing Guidelines

JIRA

Staging

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?

There was a suggestion to remove filter usage example, but I think it improves understanding for someone new to filters. Very open to suggestions however! Also my change might be a bit redundant but again I think it makes it clearer for someone who might not understand the jargon.

- Items that cost $0 to $25
- A hotel with amenities that include an indoor swimming pool and free parking
- A food critic review that mentions "spicy"
- Items that cost more than $0 but less than $25
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Add a period at the end of each bullet as these are complete sentences.

Suggested change
- Items that cost more than $0 but less than $25
- Items that cost more than $0 but less than $25.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filters are the operations MongoDB uses to limit your results to what
you want to see.
Filters are operations used to limit the results of a query based on
specific conditions. Filters are a helpful tool to locate the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: is it specific conditions or "the specified conditions"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call! I like that a lot more.

you want to see.
Filters are operations used to limit the results of a query based on
specific conditions. Filters are a helpful tool to locate the
information needed based on search conditions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
information needed based on search conditions.
Filters are a helpful tool to locate information that matches search conditions in a collection.

@nickldp nickldp requested a review from caitlindavey July 13, 2023 20:29
Copy link
Collaborator

@caitlindavey caitlindavey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nickldp nickldp merged commit ff57fa1 into mongodb:master Jul 13, 2023
@docs-builder-bot
Copy link
Collaborator

rustagir pushed a commit that referenced this pull request Jul 14, 2023
# Pull Request Info

[PR Reviewing
Guidelines](https://github.com/mongodb/docs-java/blob/master/REVIEWING.md)

[JIRA](https://jira.mongodb.org/browse/DOCSP-30873)

[Staging
](https://docs-mongodbcom-staging.corp.mongodb.com/kotlin/docsworker-xlarge/DOCSP-30873-Clarifying-Filters-on-Builders-pg/fundamentals/builders/filters/)

## Self-Review Checklist

- [x] Is this free of any warnings or errors in the RST?
- [x] Did you run a spell-check?
- [x] Did you run a grammar-check?
- [x] Are all the links working?

There was a suggestion to remove filter usage example, but I think it
improves understanding for someone new to filters. Very open to
suggestions however! Also my change might be a bit redundant but again I
think it makes it clearer for someone who might not understand the
jargon.

(cherry picked from commit ff57fa1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants