-
Notifications
You must be signed in to change notification settings - Fork 66
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
Query would print all files indexed in repo #260
Comments
Hi @stillonearth , can you please share me some examples of queries you did if it's not private? Also having access to the repo would be great. Also, I would look at what the first results are, rather than all results. One difference between grep and SeaGOAT is that grep will just show all matches in whatever order it likes, whereas SeaGOAT will order matches based on their relevance. In this regard it is a bit like Google, the first few results could be very relevant whereas the rest might be less related to your query. SeaGOAT does remove irrelevant results, but the threshold is quite lax, probably it will return a lot of things. And for a small repo, it could return nearly the whole repo. So based on your experience maybe we can fine-tune the threshold to make it a little bit more strict. Another thing you can do is only show the first N results. I have been experimenting this and for the most part I usually find what I'm looking for within the first few results. If you do |
In addition, any query that would result in the entire repo being printed in |
I have the same issue. I tried on the Seagot repo on the latest master branch. And it gives me a lot of files (all ?)
|
I'm on windows with Seagoat 0.35.1 |
Seems like it's giving you some entire files. Only few files are truncated to only give some results. That is weird. It's not necessarily so weird that it gives you all files tho. The way it's designed to work is that the best results should be on top. But still, it looks like the filtering should be a bit more strict |
I'm trying to run a query against a small repo with 2 python files, but any query would return the same result.
The text was updated successfully, but these errors were encountered: