-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
115 refactor search and enhance api (#116)
* Update __init__ file * Expose __all__ attributes * Clean imports * Removed unused import in pipeline * Update src/monggregate/search/collectors/__init__.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/search/__init__.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/search/__init__.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/search/__init__.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/search/commons/__init__.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/base.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/base.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/monggregate/stages/search/search.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9aa59a0
commit 23b08fa
Showing
8 changed files
with
94 additions
and
35 deletions.
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 |
---|---|---|
|
@@ -4,9 +4,10 @@ | |
from monggregate.dollar import S, SS | ||
from monggregate.pipeline import Pipeline | ||
|
||
__all__ = ["Expression", "S", "SS", "Pipeline"] | ||
|
||
__version__ = "0.21.0" | ||
__author__ = "Vianney Mixtur" | ||
__contact__ = "[email protected]" | ||
__copyright__ = "Copyright © 2022 Vianney Mixtur" | ||
__copyright__ = "Copyright © 2022-2024 Vianney Mixtur" | ||
__license__ = "MIT" |
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 +1,61 @@ | ||
"""Search Package""" | ||
"""Search Package""" | ||
|
||
from monggregate.search.commons import ( | ||
FuzzyOptions, | ||
CountOptions, | ||
HighlightOptions, | ||
HightlightOutput, | ||
CountResults, | ||
) | ||
from monggregate.search.collectors import ( | ||
Facet, | ||
Facets, | ||
FacetBucket, | ||
FacetBuckets, | ||
FacetResult, | ||
StringFacet, | ||
NumericFacet, | ||
DateFacet, | ||
FacetName, | ||
) | ||
from monggregate.search.operators import ( | ||
Autocomplete, | ||
Compound, | ||
Equals, | ||
Exists, | ||
MoreLikeThis, | ||
Range, | ||
Regex, | ||
Text, | ||
Wildcard, | ||
AnyOperator, | ||
OperatorMap, | ||
) | ||
|
||
__all__ = [ | ||
"FuzzyOptions", | ||
"CountOptions", | ||
"HighlightOptions", | ||
"HightlightOutput", | ||
"CountResults", | ||
"Facet", | ||
"Facets", | ||
"FacetBucket", | ||
"FacetBuckets", | ||
"FacetResult", | ||
"StringFacet", | ||
"NumericFacet", | ||
"DateFacet", | ||
"FacetName", | ||
"Autocomplete", | ||
"Compound", | ||
"Equals", | ||
"Exists", | ||
"MoreLikeThis", | ||
"Range", | ||
"Regex", | ||
"Text", | ||
"Wildcard", | ||
"AnyOperator", | ||
"OperatorMap", | ||
] |
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
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