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

[DOC] RediSearch usage with FTCreateParams and FTSearchParams classes #3934

Merged
merged 3 commits into from
Aug 25, 2024

Conversation

sazzad16
Copy link
Collaborator

No description provided.

SearchResult sr = client.ftSearch("item-index", q);
```

Alternative searching using FTSearchParams:
Copy link
Contributor

Choose a reason for hiding this comment

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

In the field-level decoding PR we will need to change it to:

Alternatively, you can use FTSearchParams to access more advanced capabilities, such as field-level decoding control. Here is an example:

Copy link
Collaborator Author

@sazzad16 sazzad16 Aug 25, 2024

Choose a reason for hiding this comment

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

@uglide IMO, we need a completely new example. I'm having difficulty making a decent example from title (text), body (text) and price (numeric) fields.

@sazzad16 sazzad16 changed the title DOC: RediSearch usage with FTCreateParams and FTSearchParams classes [DOC] RediSearch usage with FTCreateParams and FTSearchParams classes Aug 25, 2024
@sazzad16 sazzad16 merged commit ac2a4e0 into redis:master Aug 25, 2024
5 checks passed
@sazzad16 sazzad16 deleted the ftsearchparam-doc branch August 25, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants