Added "Return" parameter to Query. by oruchreis · Pull Request #1199 · StackExchange/StackExchange.Redis

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@oruchreis

Copy link Copy Markdown

Contributor

PR for #1198

/// </summary>
/// <param name="fields">a list of TEXT fields in the schemas</param>
/// <returns>the query object itself</returns>
public Query LimitFields(params string[] fields)
Copy link Copy Markdown

Collaborator

Choose a reason for hiding this comment

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

this is a breaking change; any changes should preserve the existing API (it is OK to forward if needed)

@mgravell

Copy link Copy Markdown

Collaborator

most of the API here is a snapshot of what JRediSearch was at some point in time; do you know (I don't) what JRediSearch exposes here?

@oruchreis

Copy link Copy Markdown

Contributor Author

oruchreis commented

Jul 29, 2019

edited

Loading

Ok, I didn't know that this is a snapshot of JRediSearch API. It seems JRediSearch has the return parameter also inkeys parameter with different method name. https://github.com/RediSearch/JRediSearch/blob/5d8ea3c8d2f71eefde59d88c17bb92c65dfb95ed/src/main/java/io/redisearch/Query.java#L413
I'll update than.

@mgravell

Copy link Copy Markdown

Collaborator

mgravell commented

Feb 3, 2020

Seems great; merging, thanks

oruchreis reacted with hooray emoji

@mgravell mgravell merged commit 37e257f into StackExchange:master

Feb 3, 2020

@NickCraver NickCraver linked an issue

Mar 14, 2020

that may be closed by this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mgravell mgravell mgravell left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

NRediSearch set return parameter of search

2 participants

@oruchreis @mgravell