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

Search results limit #230

Open
chmille3 opened this issue Apr 29, 2024 · 4 comments
Open

Search results limit #230

chmille3 opened this issue Apr 29, 2024 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@chmille3
Copy link

Hello,

I am wondering if it is possible to increase the number of results for a search. Right now all I see are top 4 matches. OR is there a way in the code I could change it myself just for my installation? Thanks!

@Yomguithereal Yomguithereal added the question Further information is requested label Apr 30, 2024
@Yomguithereal
Copy link
Member

@chmille3 the search limit seems to be set to 10 here: https://github.com/medialab/ipysigma/blob/master/src/widget.ts#L569 Is this possible that you did not scroll the search results or that your queries return too few items?

@chmille3
Copy link
Author

@Yomguithereal Thank you for your response! I found that search limit in the code and it appears to be the limit of nodes shown when I click on the search drop-down before I type anything. Once I type, then at max 4 results show no matter how many results I know there should be.

@Yomguithereal
Copy link
Member

You are right indeed. Let me investigate this.

@Yomguithereal Yomguithereal added the bug Something isn't working label Apr 30, 2024
@oskjerv
Copy link

oskjerv commented Oct 18, 2024

Hi.

Any updates on this? I am experiencing that not all matches are listed in the search results. I know there are three matches, but the search result only display two of them.

For me, it looks like the search function only searches in the first 25 characters of the label. If the search word is after the 25th character, the search function does find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants