yahoojapan / NGT

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data
Apache License 2.0
1.26k stars 115 forks source link

Feature request: Command line output option that doesn't require intensive deserialization #137

Open Holmes5 opened 1 year ago

Holmes5 commented 1 year ago

I'd like the option to use the ngt search command line tool programmatically, as it is faster than the Python bindings. However, the work needed to convert the command line output back into arrays of floats appears to be larger than the savings you would get from using the command line implementation. It would be convenient if there was an option to output the query responses to a file (or stdout) in a binary format like HDF5.