Bala Kolla created COUCHDB-2861:
-----------------------------------

             Summary: Provide an ability to disable the indexing of 
array-length-field when using cloudant query
                 Key: COUCHDB-2861
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2861
             Project: CouchDB
          Issue Type: Story
      Security Level: public (Regular issues)
          Components: Mango
            Reporter: Bala Kolla


The array length field is a single extra field per unique path to an array. The 
case where we found this was a client that had data that used arbitrary data as 
keys which exploded the number of fields in Lucene. The obvious fix was to 
switch to only indexing what they wanted to query on. Unfortunately that didn't 
prevent the automatically created array length fields from being created. 
This patch is a big hammer to remove the auto generated array length fields 
which may be generally useful. 
Though we're also planning on another patch that removes array length fields 
for anything that's not specified in the index's field list



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to