tonysun83 commented on issue #1789: New Feature: Database Partitions
URL: https://github.com/apache/couchdb/pull/1789#issuecomment-452202337
 
 
   we'll need to figure out what layer (core, dreyfus or clouseau) this issue 
is occuring, but it seems for text indexes, it still uses a `"partitioned": 
"false"` index for a partitoned query :
   
   ```
   http://localhost:5984/partitiondb/_partition/foo/_explain
   
   {
       "selector": {
         "a": 1
       },
     "use_index": "_design/11be2d55f04e03e19c5dc9a1a7038bb5a8a0f6f2"
   }
   ```
   
   ```
   {
       "dbname": "partitiondb",
       "index": {
           "ddoc": "_design/11be2d55f04e03e19c5dc9a1a7038bb5a8a0f6f2",
           "name": "11be2d55f04e03e19c5dc9a1a7038bb5a8a0f6f2",
           "type": "text",
           "def": {
               "default_analyzer": "keyword",
               "default_field": {},
               "selector": {},
               "fields": [],
               "index_array_lengths": true
           }
       },
       "partitioned": false,
       "selector": {
           "a": {
               "$eq": 1
           }
       },
       "opts": {
           "use_index": [
               "11be2d55f04e03e19c5dc9a1a7038bb5a8a0f6f2"
           ],
           "bookmark": [],
           "limit": 10000000000,
           "skip": 0,
           "sort": {},
           "fields": "all_fields",
           "partition": "foo",
           "r": [
               49
           ],
           "conflicts": false,
           "stale": false,
           "update": true,
           "stable": false,
           "execution_stats": false
       },
       "limit": 200,
       "skip": 0,
       "fields": "all_fields",
       "query": "(a_3anumber:1)",
       "partition": "foo",
       "sort": "relevance"
   }
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to