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

Questions about search and add #120

Open
f771216203 opened this issue Apr 22, 2021 · 2 comments
Open

Questions about search and add #120

f771216203 opened this issue Apr 22, 2021 · 2 comments
Labels

Comments

@f771216203
Copy link

Q1: When I use "search()" and show the result, I can see 1277 in total but I can only see 10 resaults. How can I see all the 1277 resaults?
Q2: When I search a longer chinese words(about over 4 words), there will find nothing, but the value is exist.
Q3: How to add add_document faster, when I add a 3.5G file it cost cover an hour.

@emmanuelkeller
Copy link
Contributor

Q1: By default the search returns 10 results. Look at the LIMIT parameter. https://oss.redislabs.com/redisearch/Commands/#ftsearch

Q2: Can you provide a full example ?
It would be useful to see

  • the FT.CREATE commands with the parameters (or the dump of FT.INFO)
  • the content of the document that should be retrieved HMGETALL
  • the FT.SEARCH commands with the parameters

Q3: Did you have a look at RSCoordinator? This module manage the sharing. You can then use several redis instance and speed up the indexing.
https://github.com/RediSearch/RSCoordinator

@f771216203
Copy link
Author

f771216203 commented Apr 23, 2021

@emmanuelkeller Thanks a lot for the answers.
Q1: How could I show more than default by using on python?
Q2: In the picture can see when I searhed a sentence in test1 there find nothing in my resault test2.
image
Q3: Can I use it on Python?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants