Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement wildcard search operator dsl #52

Merged
merged 6 commits into from
Sep 30, 2023

Conversation

masonJS
Copy link
Contributor

@masonJS masonJS commented Sep 29, 2023

resolves #20

@masonJS masonJS changed the title Feat/wildcard search operator dsl implement wildcard search operator dsl Sep 29, 2023
@masonJS masonJS marked this pull request as draft September 29, 2023 07:39
@masonJS masonJS marked this pull request as ready for review September 29, 2023 07:39
@masonJS masonJS closed this Sep 29, 2023
@masonJS masonJS reopened this Sep 29, 2023
@masonJS masonJS force-pushed the feat/wildcard-search-operator-dsl branch from d2c70ff to 54bba39 Compare September 29, 2023 07:51
Comment on lines 26 to 27
}
project {
Copy link
Member

@inflab-int inflab-int Sep 29, 2023

Choose a reason for hiding this comment

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

please add this this between stage.
I will add $limit stage after it is implemented.

// TODO: add $limit stage

Copy link
Contributor

Choose a reason for hiding this comment

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

I have found that this example does not have $limit
my mistake :)

Comment on lines 46 to 47
}
project {
Copy link
Member

Choose a reason for hiding this comment

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

also required // TODO: add $limit stage

val result = wildcardSearchRepository.findTitleWithQuestionMark()

// then
result.mappedResults.map { it.title shouldContain "?" }
Copy link
Contributor

@jbl428 jbl428 Sep 29, 2023

Choose a reason for hiding this comment

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

Until $limit is implemented, we should take 5 element explicitly.

result.mappedResults.take(5).map { it.title } shouldBe listof(
"...."
"...."
)

@masonJS masonJS force-pushed the feat/wildcard-search-operator-dsl branch from 54bba39 to 0e0f74a Compare September 30, 2023 06:36
@jbl428 jbl428 merged commit 724f800 into inflearn:main Sep 30, 2023
1 check passed
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.

Implement WildcardSearchOperatorDsl
3 participants