Skip to content

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Sep 17, 2025

The SDK method is named update_index to be consistent with other
methods like create_index and delete_index. Some of the test data
and Search docs reveal that service-side, this is being called
"index_update" in some cases. Weighing the pro/con around this
discrepancy, consistency with other SDK methods seems more important than
matching the exact string used by the service in some cases.

Comment on lines 109 to 110
"History and Witchcraft",
"Searchable information about history and witchcraft",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to suggest something that doesn't involve witchcraft.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this particular set of values is worth flagging. But I have no attachment to these and don't see them as any kind of statement. I'll change it to something else.

For future reference, I would prefer that any requests for cosmetic changes include specific change requests, i.e. "remove this line" or "use this instead". When it's low-stakes, it's much easier (cognitive overhead-wise) to apply a suggestion than it is to try to guess why the previous value was not acceptable.

The SDK method is named `update_index` to be consistent with other
methods like `create_index` and `delete_index`. Some of the test data
and Search docs reveal that service-side, this is being called
"index_update" in some cases. Weighing the pro/con around this
discrepancy, consistency with other SDK methods seems more important than
matching the exact string used by the service in some cases.
@sirosen sirosen force-pushed the support-search-index-patch branch from f6af0ab to 64fffef Compare September 17, 2025 22:04
@sirosen sirosen merged commit 9789ab1 into globus:main Sep 17, 2025
7 checks passed
@sirosen sirosen deleted the support-search-index-patch branch September 17, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants