Pa(tch)Se(arch) is an experimental search engine for code allowing search by patch.
It will return files by applicability of a specified patch.
To index a source directory:
java -jar pase.jar index <source_path> <index_path>
Once indexing has finished, you can search:
- on the command line: use
java -jar pase.jar search <index_path> <patch_path>
- via API:
- use
java -jar pase.jar serve <index_path>
to start the PaSe Server - query the URL
http://localhost:4567/search?patch=URL_ENCODED_PATCH
to get results as JSON (seeutils/example_client.py
for a full example)
- use
- via the Web UI:
- use
java -jar pase.jar serve <index_path>
to start the PaSe Server - visit http://localhost:4567 with your browser
- use