You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/02/25 16:48:54 UTC
[GitHub] [couchdb-documentation] emlaver opened a new issue #625: Remove partial filter selector field from POST /{db}/_index query parameters list
emlaver opened a new issue #625:
URL: https://github.com/apache/couchdb-documentation/issues/625
<!--- Provide a general summary of the issue in the Title above -->
## Expected Behavior
When using partial indexes, the `partial_filter_selector` object is to be added within the `index` object. Example of a partial index creation in https://docs.couchdb.org/en/stable/api/database/find.html#partial-indexes.
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
## Current Behavior
The `partial_filter_selector` field is listed along side `index` and other fields in the [POST /db/_index query param list](https://docs.couchdb.org/en/stable/api/database/find.html#post--db-_index).
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
## Possible Solution
- Remove the reference of `partial_filter_selector` field in the POST /{db}/_index query parameters list.
- Move the query param description of `partial_filter_selector` to the `index` description.
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
If you try to create an index with `partial_filter_selector` along side `index` you'll get an error: `Invalid key partial_filter_selector for this request`.
## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Browser Name and version:
* Operating System and version (desktop or mobile):
* Link to your project:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb-documentation] wohali closed issue #625: Remove partial filter selector field from POST /{db}/_index query parameters list
Posted by GitBox <gi...@apache.org>.
wohali closed issue #625:
URL: https://github.com/apache/couchdb-documentation/issues/625
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb-documentation] wohali commented on issue #625: Remove partial filter selector field from POST /{db}/_index query parameters list
Posted by GitBox <gi...@apache.org>.
wohali commented on issue #625:
URL: https://github.com/apache/couchdb-documentation/issues/625#issuecomment-809727518
This is already fixed in https://docs.couchdb.org/en/latest/api/database/find.html#post--db-_index .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org