-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Add enhanced search querying #1455
Comments
@ellie do you think this needs a new search mode? otherwise when user input those keywords |
This issue has been mentioned on Atuin Community. There might be relevant details there: https://forum.atuin.sh/t/search-output-order-is-not-what-i-expected/108/2 |
Yes Realistically, I'd like to work on one search mode that
I'd like to explore Tantivy for this use case. SQLite FTS could perhaps do it, but is not quite as flexible as I'd like Given that this has an extra index step, making it dependent on #1661 probably make sense |
This issue has been mentioned on Atuin Community. There might be relevant details there: |
Hi 👋 |
Thanks! I'll let you know for sure As an update here; I recently had another go with sqlite fts, just to avoid adding another system if not needed. It got maybe 80% of the way there, but wasn't quite as nice as I had hoped. I'll have a go with tantivy soon |
While we have filter modes, Atuin does not do an amazing job of exposing the contextual information we store in the TUI search
It would be great if searches could work like this in the TUI:
cargo build cwd:~/src exit:0
This would do a normal search for
cargo build
, but specify that it should only apply to commands that exited successfully in the~/src
dirWe'd probably want to implement the following
Using a proper search engine/index here means that we can search + score results based on a bunch of factors, better using the context we have to provide search results.
The text was updated successfully, but these errors were encountered: