SharpSearch is a local search engine.
Add file(s) or folder(s) to the index. If an existing index doesn't exist in ~/.config/SharpSearch
a new index will be created.
./SharpSearch add file_path folder_path
Find n
documents that are the most relevant to the search query. The default is 10 documents.
The basic principles of information retrieval are used to rank the documents.
./SharpSearch query "search term" --n 5
Currently only installation from source is supported, which requires .NET 6.0.x or 7.0.x:
cd src/SharpSearch
dotnet publish -c Release -r osx-arm64 --self-contained false
The executable will be in src/SharpSearch/bin/Release/net7.0/<OS>/publish/
.