Skip to content

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

Merged
sazzad16 merged 3 commits intoredis:masterfrom
sazzad16:ftsearchparam-doc
Aug 25, 2024
Merged

[DOC] RediSearch usage with FTCreateParams and FTSearchParams classes#3934
sazzad16 merged 3 commits intoredis:masterfrom
sazzad16:ftsearchparam-doc

Conversation

@sazzad16
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread docs/redisearch.md
SearchResult sr = client.ftSearch("item-index", q);
```

Alternative searching using FTSearchParams:
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
@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