-
Notifications
You must be signed in to change notification settings - Fork 76
[SYNPY-1869] Review fixes for SearchIndex entity and supporting functionality #1433
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
Merged
linglp
merged 18 commits into
synpy-1869-search-index
from
synpy-1869-search-index-review
Jul 29, 2026
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
85122bf
Review fixes for SearchIndex entity and supporting functionality
BryanFauble e2dcea7
Fix class docstring examples not rendering in docs
BryanFauble 9f22799
add docstring
linglp 47bb3da
pull the latest changes
linglp 2859c11
remove searchIndexStatus class
linglp 76ec595
remove SearchIndexState after SearchIndexStatus gets removed
linglp d83952f
update the link in docstring
linglp 06287b1
added supported class; fix docstring
linglp 7a0e93a
fix formatting
linglp 3734458
avoid exporting the mixin because they are only for internal use
linglp 5821304
fix docstring
linglp c378694
fix docstring
linglp f906ec7
no need to export EnumCoercionMixin and ForwardCompatibleStrEnum beca…
linglp 74103df
remove version and related fields; fix integration tests
linglp 1ae85ff
add type searchIndex
linglp c4a7578
updated example to use Query class instead of dict from search_dsl; a…
linglp be4c1f6
move searchIndex to non-version block
linglp b979469
update constants after creating test resources in dev
linglp 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # SearchIndex | ||
|
|
||
| ## API reference | ||
|
|
||
| ::: synapseclient.models.SearchIndex | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - delete_async | ||
| - query_async | ||
| - autocomplete_async | ||
| - get_permissions_async | ||
| - get_acl_async | ||
| - set_permissions_async | ||
| - delete_permissions_async | ||
| - list_acl_async | ||
|
|
||
| ## Supporting types | ||
|
|
||
| ::: synapseclient.models.SearchQuery | ||
| ::: synapseclient.models.SearchQueryPart | ||
| ::: synapseclient.models.SearchIndexQuery | ||
| ::: synapseclient.models.SearchAutocompleteRequest | ||
| ::: synapseclient.models.SearchHit | ||
| ::: synapseclient.models.SearchFieldValue | ||
| ::: synapseclient.models.SearchHighlight | ||
|
|
||
| ## OpenSearch query DSL | ||
|
|
||
| ::: synapseclient.models.search_dsl.Query |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Search Configuration | ||
|
|
||
| Analyzer, synonym, and configuration resources that control how a | ||
| [SearchIndex](search_index.md) builds its OpenSearch index. | ||
|
|
||
| ## API reference | ||
|
|
||
| ::: synapseclient.models.SearchConfiguration | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - list_async | ||
|
|
||
| ::: synapseclient.models.TextAnalyzer | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - list_async | ||
|
|
||
| ::: synapseclient.models.SynonymSet | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - list_async | ||
|
|
||
| ::: synapseclient.models.ColumnAnalyzerOverride | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - list_async | ||
|
|
||
| ::: synapseclient.models.SearchConfigBinding | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store_async | ||
| - get_async | ||
| - delete_async |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| [](){ #searchindex-reference-sync } | ||
| # SearchIndex | ||
|
|
||
| ## API reference | ||
|
|
||
| ::: synapseclient.models.SearchIndex | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - delete | ||
| - query | ||
| - autocomplete | ||
| - get_permissions | ||
| - get_acl | ||
| - set_permissions | ||
| - delete_permissions | ||
| - list_acl | ||
|
|
||
| ## Supporting types | ||
|
|
||
| ::: synapseclient.models.SearchQuery | ||
| ::: synapseclient.models.SearchQueryPart | ||
| ::: synapseclient.models.SearchIndexQuery | ||
| ::: synapseclient.models.SearchAutocompleteRequest | ||
| ::: synapseclient.models.SearchHit | ||
| ::: synapseclient.models.SearchFieldValue | ||
| ::: synapseclient.models.SearchHighlight | ||
| ::: synapseclient.models.protocols.search_index_protocol.SearchIndexSynchronousProtocol | ||
|
|
||
| ## OpenSearch query DSL | ||
|
|
||
| ::: synapseclient.models.search_dsl.Query |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| [](){ #search-management-reference-sync } | ||
| # Search Configuration | ||
|
|
||
| Analyzer, synonym, and configuration resources that control how a | ||
| [SearchIndex][searchindex-reference-sync] builds its OpenSearch index. | ||
|
|
||
| ## API reference | ||
|
|
||
| ::: synapseclient.models.SearchConfiguration | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - list | ||
|
|
||
| ::: synapseclient.models.TextAnalyzer | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - list | ||
|
|
||
| ::: synapseclient.models.SynonymSet | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - list | ||
|
|
||
| ::: synapseclient.models.ColumnAnalyzerOverride | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - list | ||
|
|
||
| ::: synapseclient.models.SearchConfigBinding | ||
| options: | ||
| inherited_members: true | ||
| members: | ||
| - store | ||
| - get | ||
| - delete | ||
|
|
||
| ## Supporting types | ||
|
|
||
| ::: synapseclient.models.ColumnAnalyzerOverrideEntry |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.