-
Notifications
You must be signed in to change notification settings - Fork 6
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
implement wildcard search operator dsl #52
Conversation
d2c70ff
to
54bba39
Compare
} | ||
project { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 :)
} | ||
project { |
There was a problem hiding this comment.
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 "?" } |
There was a problem hiding this comment.
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(
"...."
"...."
)
54bba39
to
0e0f74a
Compare
resolves #20