-
Notifications
You must be signed in to change notification settings - Fork 66
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
Implements several basic search types, bumps major version #42
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1e92831
Adds naive implementation for match queries
1108ff6
Begin process of splitting out logic for different query types
5d88a85
Fixes failing py2.7 test
61289bf
Adds naive search for term queries
abb475f
Removes unused variable
43ed5f7
Adds searching within lists
2a4f7b4
Adds negative test case for match query
95f4a7e
Adds FILTER and BOOL query types
090f040
Implements bool query type
929598e
Adds implementation of terms query
dbf6bf5
Adds implementation of terms query
c0bb66e
Merge pull request #1 from KyKoPho/master
191a917
bump version to 2.0
977270d
Merge pull request #2 from KyKoPho/master
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
dist: xenial | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
ELASTICMOCK_VERSION='1.5.1' | ||
ELASTICMOCK_VERSION='2.0' | ||
|
||
install: | ||
@pip install -r requirements.txt | ||
pip install -r requirements.txt | ||
|
||
test_install: install | ||
@pip install -r requirements_test.txt | ||
pip install -r requirements_test.txt | ||
|
||
test: test_install | ||
@tox -p 20 --parallel--safe-build | ||
python3 setup.py test | ||
|
||
upload: create_dist | ||
@pip install twine | ||
@twine upload dist/* | ||
@git push | ||
pip install twine | ||
twine upload dist/* | ||
git push | ||
|
||
create_dist: create_dist_commit update_pip | ||
@rm -rf dist | ||
@python setup.py sdist | ||
rm -rf dist | ||
python3 setup.py sdist | ||
|
||
create_dist_commit: | ||
@git commit --all -m "Bump version ${ELASTICMOCK_VERSION}" | ||
@git tag ${ELASTICMOCK_VERSION} | ||
git commit --all -m "Bump version ${ELASTICMOCK_VERSION}" | ||
git tag ${ELASTICMOCK_VERSION} | ||
|
||
update_pip: | ||
@pip install --upgrade pip | ||
pip install --upgrade pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
elasticsearch>=1.9.0,<8.0.0 | ||
mock==3.0.5 | ||
mock==3.0.5 | ||
ipdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wdyt of keep the TOX tool here to test against different environments?