Skip to content

Feature/elastic search client#342

Open
sanil-shrestha wants to merge 10 commits intodevelopfrom
feature/elastic-search-client
Open

Feature/elastic search client#342
sanil-shrestha wants to merge 10 commits intodevelopfrom
feature/elastic-search-client

Conversation

@sanil-shrestha
Copy link

No description provided.

@CLAassistant
Copy link

CLAassistant commented Mar 10, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ sshre31
❌ sanilshrmiu


sshre31 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sanil-shrestha sanil-shrestha marked this pull request as ready for review March 17, 2025 05:39
@sanil-shrestha sanil-shrestha requested a review from a team as a code owner March 17, 2025 05:39
Comment on lines +47 to +54
public List<T> findAll() throws IOException {
var response = elasticsearchClient.search(s -> s
.index(indexName)
.query(q -> q.matchAll(m -> m)),
this.documentType
);
return renderResults(response);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

add pagination

Comment on lines +63 to +73
public List<T> searchByKey(String key, String value) throws IOException {
var response = elasticsearchClient.search(s -> s
.index(indexName)
.query(q -> q.match(t -> t
.field(key)
.query(value)
)
), this.documentType
);
return renderResults(response);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

add pagination

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.

4 participants