Allow direct string query
Hello,
Thank you for this library. The fluent api is quite handy, but, is there any reason not to expose direct string queries to everything?
Something like :
var everything = new Everything();
var results = everything.Search(@"c:\ <\appdata\|\desktop> dm:last1days <*.txt|*.7z>");
Regards, Pedro
Hello Pedro, Thanks for your feedback, and I completely agree, it's a hole in the API. I will make an update soon to support this feature.
To follow up my previous answer, your request has pushed me to work on an evolution of this library to improve a bit the API. So it's coming but I also consider at the same time releasing a .net Standard version if possible.
Hello,
thanks for the follow up, that is cool stuff!
i was wondering, since i use this lib for some automation stuff i would like to run and then quit Everything.exe when I’m done, and leave no services and processes lying around.
I guess that would work best is to use "Everything.exe -startup" do the automation and then use "Everything.exe -quit".
Can you consider exposing the -quit flag in the public api?
Regards, Pedro
You just pointed out another change I'd like to make in this library. I'd like to give more control on the underlying everything process. For example
- be able to show the debug console
- Define where Everything db is store
- Use a dedicated Everything client using named pipe (to avoid conflicts with potential other installation)
- Allow to stop this dedicated Everything client
I already have some work on this locally, I need to finish and polish :)
Hello Pedro, If you're still interested I made a new branch for EverythingNet2 with the following changes:
- new API, very similar to v1 but code needs to updated
- ability to search with raw query (as you requested)
- Improved how everything process is started, and wait for the DB to be ready when started for the first time
- ability to show debug console (not really tested yet)
It's not finished, but I think it's usable and your feedback will be welcome :)
Regards, Julien.
Hello Julien,
good to hear it, it is a very cool addition. I will check it out.
Any plans to release a prerelease nuget? Thanks.
Regards, Pedro
Hello Pedro,
I'm glad you like the new API. For the nuget package I need to check the library compatibility with various .net framework version. I may end up publishing a multi-target nuget package. But if so, I need to learn how to do it ... Anyway I could setup a package for .net 4.5 quickly I guess.
Regards, Julien.
Not a problem, no need to hurry. Thanks again.