-
Notifications
You must be signed in to change notification settings - Fork 184
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
Updating Developer Guide README.md to include Hybrid search specific documentation #955
base: mainline
Are you sure you want to change the base?
Conversation
Fixed numbering of the steps
Fixed numbering again
This commit addresses comments made by @farshidz on PR: marqo-ai@544d33e. The commit also squashes previous 3 commits to keep the commit history clean Update README.md Fixed numbering again Update README.md Fixed numbering of the steps Updating Developer Guide README.md to include Hybrid search specific documentation
src/marqo/README.md
Outdated
```bash | ||
mvn -version | ||
``` | ||
Post this you need to create a jar file, cd into the vespa directory in your local marqo repository, and run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this step 6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
mvn -version | ||
``` | ||
Post this you need to create a jar file, cd into the vespa directory in your local marqo repository, and run | ||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd vespa
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added cd vespa in the line above
src/marqo/README.md
Outdated
```bash | ||
mvn -version | ||
``` | ||
Post this you need to create a jar file, cd into the vespa directory in your local marqo repository, and run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wording is confusing. How do I create a jar file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed
src/marqo/README.md
Outdated
### Option A. Run the Marqo application locally (outside of docker) through IDE | ||
Now you can run Marqo locally through your IDE (e.g. PyCharm) by following the steps below. | ||
|
||
5. Open the Marqo project in your IDE (e.g. PyCharm) and go to the file `src/marqo/tensor_search/api.py` | ||
6. Set up your [debug configuration](https://www.jetbrains.com/help/pycharm/creating-run-debug-configuration-for-tests.html) | ||
6. Open the Marqo project in your IDE (e.g. PyCharm) and go to the file `src/marqo/tensor_search/api.py` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(e.g. PyCharm) once is enough. After that it's redundant
src/marqo/README.md
Outdated
mvn clean package | ||
``` | ||
Post running this command, you will see that a target folder gets created in the vespa directory, which contains a jar file called marqo-custom-searchers-deploy.jar. This jar file is used to deploy the custom searchers to Vespa. | ||
|
||
### Option A. Run the Marqo application locally (outside of docker) through IDE | ||
Now you can run Marqo locally through your IDE (e.g. PyCharm) by following the steps below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g., (missing comma)
src/marqo/README.md
Outdated
@@ -52,14 +73,14 @@ VESPA_CONFIG_URL=http://localhost:19071 | |||
VESPA_DOCUMENT_URL=http://localhost:8080 | |||
VESPA_QUERY_URL=http://localhost:8080 | |||
``` | |||
7. Now you can Debug this file directly from your IDE (e.g. PyCharm) to start Marqo locally. | |||
8. Set breakpoints in the project for better debugging experience. | |||
8. Now you can Debug this file directly from your IDE (e.g. PyCharm) to start Marqo locally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug (lower case)
Addressing comments on PR commit: ef985fd
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update
What is the current behavior? (You can also link to an open issue here)
Currently the developer guide readme doesn't contain steps to create the Vespa custom searcher's .jar file, which would lead to a contributor encountering issues when following the developer guide
What is the new behavior (if this is a feature change)?
Updated readme file contains the steps to create the .jar file.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No
Have unit tests been run against this PR? (Has there also been any additional testing?)
Unit tests aren't required for the PR
Related Python client changes (link commit/PR here)
None
Related documentation changes (link commit/PR here)
None
Other information:
Please check if the PR fulfills these requirements