couchdb-mango git commit: Return ddoc id and index name

2015-03-31 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2645-return-doc-id 8a1bd3176 - f6d4901bc (forced update) Return ddoc id and index name We return the ddoc id and index name for easier deletion from the dashboard. We don't return the full design doc because we want to hide that

couchdb-mango git commit: Return ddoc id and index name

2015-03-31 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 893028883 - f6d4901bc Return ddoc id and index name We return the ddoc id and index name for easier deletion from the dashboard. We don't return the full design doc because we want to hide that abstraction of dealing with design

couchdb-mango git commit: Use different comparison function

2015-02-25 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 698e3490e - 893028883 Use different comparison function Our mango_json:cmp/2 function used couch_ejson_compare:less_json. That function returned a boolean value, but we need a number. Documents were not returned and tests were

couchdb-mango git commit: Handle unsatisfiable [empty] ranges

2015-02-23 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/tonysun83-start-end-key-issue [created] 3611aadb2 Handle unsatisfiable [empty] ranges Queries sometimes contain unsatisfiable ranges (i.e x 0 and x 0). This is indicated by the [empty] value. In this case, we should not perform a search

couchdb-mango git commit: Use different comparison function

2015-02-24 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2622-fix-cmp-function [created] 893028883 Use different comparison function Our mango_json:cmp/2 function used couch_ejson_compare:less_json. That function returned a boolean value, but we need a number. Documents were not returned and

couchdb-mango git commit: Handle unsatisfiable [empty] ranges

2015-02-24 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 931d22776 - 698e3490e Handle unsatisfiable [empty] ranges Queries sometimes contain unsatisfiable ranges (i.e x 0 and x 0). This is indicated by the [empty] value. In this case, we should not perform a search and simply return 0

couchdb-mango git commit: Handle unsatisfiable [empty] ranges

2015-02-24 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/tonysun83-start-end-key-issue b3032dc23 - 698e3490e (forced update) Handle unsatisfiable [empty] ranges Queries sometimes contain unsatisfiable ranges (i.e x 0 and x 0). This is indicated by the [empty] value. In this case, we should

couchdb-mango git commit: Change comparison operator for none

2015-03-25 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2645-return-doc-id 2543fae46 - 8a1bd3176 Change comparison operator for none Fixes COUCHDB-2645 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

couchdb-mango git commit: Enable bulk deletes

2015-04-02 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2651-delete-bulk-docs 9642daa37 - 8ce9bf4ba (forced update) Enable bulk deletes Add _bulk_delete path to _index so that users can bulk delete indexes via POST. Users will pass in a list of docids via the POST body. We delete each index

couchdb-mango git commit: Return success and failure information

2015-04-02 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2651-delete-bulk-docs 8ce9bf4ba - 985c952aa Return success and failure information Rather than just return indexes deleted, we return a list of successful deletes and failed deletes along with the ids. For a single delete, we still throw

couchdb-mango git commit: Change hardcode for TotalRows

2015-04-20 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2652-index-pagination 0deb8d131 - 137ad3abe Change hardcode for TotalRows Fixes:COUCHDB-2652 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/137ad3ab

[2/3] couchdb-mango git commit: Return empty array for skip

2015-04-20 Thread tonysun83
Return empty array for skip When skip is more than total rows, we return an empty array rather than throw an error. Fixes: COUCHDB-2652 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/d128f16d Tree:

[1/3] couchdb-mango git commit: Change limit default

2015-04-20 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2652-index-pagination 90652ce11 - 0deb8d131 Change limit default Change limit default to extremely large number to represent an unbound limit. FogBugzID: 2652 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[3/3] couchdb-mango git commit: Return total index rows

2015-04-20 Thread tonysun83
Return total index rows Fixes: COUCHDB-2652 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/0deb8d13 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/0deb8d13 Diff:

couchdb-mango git commit: Add support for index pagination

2015-04-19 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2652-index-pagination [created] 90652ce11 Add support for index pagination We add limit and skip parameters to GET so that the dashboard can utilize these parameters for pagination. Fixes: COUCHDB-2652 Project:

couchdb-mango git commit: Add support for index pagination

2015-04-20 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2652-index-pagination 137ad3abe - a0cac182c (forced update) Add support for index pagination We add limit and skip parameters to GET so that the dashboard can utilize these parameters for pagination. Fixes:COUCHDB-2652 Project:

couchdb-mango git commit: Add support for index pagination

2015-04-20 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master fa557b728 - a0cac182c Add support for index pagination We add limit and skip parameters to GET so that the dashboard can utilize these parameters for pagination. Fixes:COUCHDB-2652 Project:

couchdb-mango git commit: Remove write quorum

2015-04-18 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2663-remove-w-quorum [created] fa557b728 Remove write quorum The write quorum is saved in the index. We cosmetically remove it. Fixes:COUCHDB-2663 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

couchdb-mango git commit: Remove write quorum

2015-04-18 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 6490184bf - fa557b728 Remove write quorum The write quorum is saved in the index. We cosmetically remove it. Fixes:COUCHDB-2663 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

couchdb-mango git commit: Enable bulk deletes

2015-04-05 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master f6d4901bc - 6490184bf Enable bulk deletes Add _bulk_delete path to _index so that users can bulk delete indexes via POST. Users will pass in a list of docids via the POST body. We delete each index one by one until an error is

couchdb-mango git commit: Enable bulk deletes

2015-04-05 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2651-delete-bulk-docs 985c952aa - 6490184bf (forced update) Enable bulk deletes Add _bulk_delete path to _index so that users can bulk delete indexes via POST. Users will pass in a list of docids via the POST body. We delete each index

[1/2] couchdb-mango git commit: Add _bulk_delete endpoint

2015-04-01 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2651-delete-bulk-docs [created] 9642daa37 Add _bulk_delete endpoint We apend _bulk_delete to _index so that users can delete all their mango indexes via _index/_bulk_delete. This will be via a POST request. The body of the post request

[2/2] couchdb-mango git commit: Add bulk delete testcase

2015-04-01 Thread tonysun83
Add bulk delete testcase Fixes COUCHDB-2651 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/9642daa3 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/9642daa3 Diff:

[1/2] couchdb-mango git commit: Revert Enable bulk deletes

2015-06-03 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2651-delete-bulk-docs 6490184bf - 3a8efbee5 Revert Enable bulk deletes This reverts commit 6490184bf36c6eb04587d5fb3bd86923e62ec2b5. COUCHDB-2651 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[2/2] couchdb-mango git commit: Enable bulk delete with fabric update_docs

2015-06-03 Thread tonysun83
Enable bulk delete with fabric update_docs Rather than delete each doc one by one, we use fabric:update_docs to bulk delete. Fixes:COUCHDB-2651 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/3a8efbee Tree:

[2/2] couchdb-mango git commit: Add tests to verify the effect of enabling/disabling index_array_lengths Skip the array-length-field tests if text service is not running Skip creating the index doc if

2015-10-28 Thread tonysun83
Add tests to verify the effect of enabling/disabling index_array_lengths Skip the array-length-field tests if text service is not running Skip creating the index doc if the text service is not up Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[1/2] couchdb-mango git commit: Provide an ability to disable the indexing of array lengths.

2015-10-28 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master a297e2e9e -> 090dc6750 Provide an ability to disable the indexing of array lengths. Depending on the data shape, cloudant query would end up creating many thousands of unique fields and this is leading to JVM heap exhaustion as

couchdb-mango git commit: Fix user defined index selection

2015-11-02 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 090dc6750 -> a02f6106a Fix user defined index selection This fix modifies indexable_fields to remove extraneous fields that are created by the mango_selector_text:convert function so that the index can now be used when accessing

couchdb-mango git commit: Fix user defined index selection

2015-10-30 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2835-fix-index-selection [created] 62362de9a Fix user defined index selection This fix modifies indexable_fields to remove extraneous fields that are created by the mango_selector_text:convert function so that the index can now be used

couchdb-mango git commit: Fix user defined index selection

2015-11-01 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2835-fix-index-selection 41ac4a66e -> a02f6106a (forced update) Fix user defined index selection This fix modifies indexable_fields to remove extraneous fields that are created by the mango_selector_text:convert function so that the index

couchdb-mango git commit: Remove duplicate function clause

2015-11-01 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2835-fix-index-selection 62362de9a -> 41ac4a66e Remove duplicate function clause COUCHDB-2835 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

Git Push Summary

2015-10-07 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2844-fix-nin [created] 06cf106dc

couchdb-mango git commit: Fix $nin operator

2015-10-07 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2844-fix-nin 06cf106dc -> 0dd2000f6 Fix $nin operator This fixes $nin when the field is an array. BugzID:44528 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

couchdb-mango git commit: Fix $nin operator

2015-10-07 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 06cf106dc -> 0dd2000f6 Fix $nin operator This fixes $nin when the field is an array. BugzID:44528 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[5/5] couchdb-mango git commit: Handle malformed manual design docs.

2015-10-05 Thread tonysun83
Handle malformed manual design docs. We separate index validation into three phases. The first phase is index creation via our _index api. This validation piece will throw an error for invalid index definitions. The second phase is during the indexing of documents. If an index definition is not

[4/5] couchdb-mango git commit: Pass supervisor's children to couch_epi

2015-10-05 Thread tonysun83
Pass supervisor's children to couch_epi Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/46b58a3c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/46b58a3c Diff:

[1/5] couchdb-mango git commit: Fix comparison operators for strings

2015-10-05 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2816-malformed-docs 2d26f2295 -> 87020c220 (forced update) Fix comparison operators for strings The comparison operators $lt, $lte, $gt, and $gte were incorrectly using lower bound and upper bound values when comparing text. For strings,

[3/5] couchdb-mango git commit: Update to new couch_epi API

2015-10-05 Thread tonysun83
Update to new couch_epi API Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/19184f3c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/19184f3c Diff:

[2/5] couchdb-mango git commit: Fix crypto deprecations

2015-10-05 Thread tonysun83
Fix crypto deprecations COUCHDB-2825 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/9eb60e78 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/9eb60e78 Diff:

[2/2] couchdb-mango git commit: Handle malformed manual design docs.

2015-10-05 Thread tonysun83
Handle malformed manual design docs. We separate index validation into three phases. The first phase is index creation via our _index api. This validation piece will throw an error for invalid index definitions. The second phase is during the indexing of documents. If an index definition is not

[1/2] couchdb-mango git commit: Update Erlang releases for build matrix

2015-10-05 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2816-malformed-docs 87020c220 -> 06cf106dc (forced update) Update Erlang releases for build matrix Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

couchdb-mango git commit: Handle malformed manual design docs.

2015-10-05 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master ea662ba96 -> 06cf106dc Handle malformed manual design docs. We separate index validation into three phases. The first phase is index creation via our _index api. This validation piece will throw an error for invalid index

[09/17] couchdb-mango git commit: Fix $all operator

2015-08-26 Thread tonysun83
Fix $all operator The $all operator was only returning docs where the field exactly matched the array. It should return docs where the provided matching array is a subset of the field's array. Ex: {field : { $all : [Bob, Joe] } } should match field : [Bob, Jane, Joe] BugzId:46731

[07/17] couchdb-mango git commit: Fix compilation error

2015-08-26 Thread tonysun83
Fix compilation error Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/4f05552d Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/4f05552d Diff:

[03/17] couchdb-mango git commit: Add quotes to numeric strings

2015-08-26 Thread tonysun83
Add quotes to numeric strings For numeric strings, we surround them with quotes when passed to $text. This way, Clouseau will use the QueryParser for tokenization rather than TermQuery. This is currently a workaround until we add json parser support to Clouseau. BugzID: 45572 Project:

[15/17] couchdb-mango git commit: add tests

2015-08-26 Thread tonysun83
add tests Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/97162fd5 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/97162fd5 Diff:

[05/17] couchdb-mango git commit: Handle extra when elemMatch normalizes selector

2015-08-26 Thread tonysun83
Handle extra when elemMatch normalizes selector When $elemMatch is applied to non-objects such as: {results:{$elemMatch: {$gte: 80, $lt: 85}}}, our normalizer modifies the selector to include . This causes issues for our path_str and match functions. This fix addresses those issues by removing

[12/17] couchdb-mango git commit: Correctly choose index type

2015-08-26 Thread tonysun83
Correctly choose index type When users specify $text in the selector, json indexes should not be used satisfy the query. We check the list of fields and look for $default. This implies that $text was used in the selector and filter out all json indexes. BugzId: 46498 Project:

[13/17] couchdb-mango git commit: Replace element position with brackets

2015-08-26 Thread tonysun83
Replace element position with brackets To be consistent with view based indexes, we allow the user to access array elements via position. We convert that position to [] for the underlying indexed field. For example, myarray.0.1, would be converted to myarray.[].[]. This converted field will then

[04/17] couchdb-mango git commit: Add numeric string tests

2015-08-26 Thread tonysun83
Add numeric string tests BugzId: 45572 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/ca5ff7bc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/ca5ff7bc Diff:

[17/17] couchdb-mango git commit: Request an EJSON body when opening documents

2015-08-26 Thread tonysun83
Request an EJSON body when opening documents Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/8d496c1e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/8d496c1e Diff:

[11/17] couchdb-mango git commit: Add text index field validator

2015-08-26 Thread tonysun83
Add text index field validator Our original text field validator let any list through. The new validator makes text fields definitions more restrictive. BugzID: 46817 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[08/17] couchdb-mango git commit: List text indexes correctly

2015-08-26 Thread tonysun83
List text indexes correctly Text indexes are created in the form of {name: fieldname, type:datatype}. This differs from view based indexes that are in the form of {field:sortdirection}. When presenting the text index fields, we display for each field fieldname:datatype. BugzID:46012 Project:

[01/17] couchdb-mango git commit: Revert Remove reference to _text indexes

2015-08-26 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-merge-repos [created] 8d496c1e8 Revert Remove reference to _text indexes This reverts commit 955a42c3bbd0502f1623bec29edad59eddd7b2ea. Conflicts: src/mango_error.erl COUCHDB-2787 Project:

[3/3] couchdb-mango git commit: Return 503 if dreyfus service does not exist

2015-09-03 Thread tonysun83
Return 503 if dreyfus service does not exist References to text will throw a 503 if the dreyfus_index module does not exist. COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/6100a0b6 Tree:

[2/3] couchdb-mango git commit: Modify tests for skip

2015-09-03 Thread tonysun83
Modify tests for skip COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/838c6329 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/838c6329 Diff:

[1/4] couchdb-mango git commit: Use module_loaded instead of module_info

2015-09-03 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-merge-repos 6100a0b68 -> f12076f24 Use module_loaded instead of module_info COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[3/4] couchdb-mango git commit: Use short circuit operators

2015-09-03 Thread tonysun83
Use short circuit operators COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/8b6d0dbd Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/8b6d0dbd Diff:

[2/2] couchdb-mango git commit: Whitespace

2015-09-08 Thread tonysun83
Whitespace Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/1de64eab Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/1de64eab Diff:

couchdb-mango git commit: Shorten tests

2015-09-10 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases 2793b9f50 -> 87bde010f Shorten tests COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/87bde010 Tree:

couchdb-mango git commit: Remove num_string_docs references

2015-09-10 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases 87bde010f -> 6b0ab626c Remove num_string_docs references COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/6b0ab626

couchdb-mango git commit: Check for text in num_string_test

2015-09-11 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases 79ca3c114 -> 06a6b3f52 Check for text in num_string_test COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/06a6b3f5

couchdb-mango git commit: Start couchdb with testuser

2015-09-10 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases 6b0ab626c -> 97670f3d7 Start couchdb with testuser COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/97670f3d Tree:

couchdb-mango git commit: Add hypothesis to Makefile

2015-09-11 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases 97670f3d7 -> 79ca3c114 Add hypothesis to Makefile COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/79ca3c11 Tree:

[1/3] couchdb-mango git commit: Make testcases skip automatically when no text service

2015-09-11 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 1de64eabb -> 87faac11d Make testcases skip automatically when no text service COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[3/3] couchdb-mango git commit: Shorten tests

2015-09-11 Thread tonysun83
Shorten tests COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/87faac11 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/87faac11 Diff:

couchdb-mango git commit: Also append quotes for specific numeric string field

2015-09-11 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2806-numeric-string-field [created] 257a9e8a7 Also append quotes for specific numeric string field We appended quotes for numeric_strings for $text. However, we did not do this for specific fields. Note that we don't escape the field

[2/3] couchdb-mango git commit: Use hypothesis instead of random values for num_string tests

2015-09-11 Thread tonysun83
Use hypothesis instead of random values for num_string tests COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/2793b9f5 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/2793b9f5

couchdb-mango git commit: Add query

2015-09-11 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2806-numeric-string-field 257a9e8a7 -> acef66bf2 Add query Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/acef66bf Tree:

couchdb-mango git commit: Also append quotes for specific numeric string field

2015-09-14 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2806-numeric-string-field acef66bf2 -> f92403294 (forced update) Also append quotes for specific numeric string field We appended quotes for numeric_strings for $text. However, we did not do this for specific fields. Note that we don't

couchdb-mango git commit: Also append quotes for specific numeric string field

2015-09-14 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 87faac11d -> f92403294 Also append quotes for specific numeric string field We appended quotes for numeric_strings for $text. However, we did not do this for specific fields. Note that we don't escape the field value when it's a

couchdb-mango git commit: Fix comparison operators for strings

2015-09-14 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2808-fix-comparison [created] bb595d010 Fix comparison operators for strings The comparison operators $lt, $lte, $gt, and $gte were incorrectly using lower bound and upper bound values when comparing text. For strings, we modify the the

couchdb-mango git commit: Fix comparison operators for strings

2015-09-17 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master f92403294 -> bb595d010 Fix comparison operators for strings The comparison operators $lt, $lte, $gt, and $gte were incorrectly using lower bound and upper bound values when comparing text. For strings, we modify the the lower bound

[04/26] couchdb-mango git commit: Add numeric string tests

2015-09-09 Thread tonysun83
Add numeric string tests BugzId: 45572 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/ca5ff7bc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/ca5ff7bc Diff:

[14/26] couchdb-mango git commit: stash compiled regexs in mochiglobal

2015-09-09 Thread tonysun83
stash compiled regexs in mochiglobal Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/7032bf58 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/7032bf58 Diff:

[07/26] couchdb-mango git commit: Fix compilation error

2015-09-09 Thread tonysun83
Fix compilation error Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/4f05552d Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/4f05552d Diff:

[05/26] couchdb-mango git commit: Handle extra <<>> when elemMatch normalizes selector

2015-09-09 Thread tonysun83
Handle extra <<>> when elemMatch normalizes selector When $elemMatch is applied to non-objects such as: {"results":{"$elemMatch": {"$gte": 80, "$lt": 85}}}, our normalizer modifies the selector to include <<>>. This causes issues for our path_str and match functions. This fix addresses those

[23/26] couchdb-mango git commit: Use short circuit operators

2015-09-09 Thread tonysun83
Use short circuit operators COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/8b6d0dbd Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/8b6d0dbd Diff:

[22/26] couchdb-mango git commit: Use config:get_integer

2015-09-09 Thread tonysun83
Use config:get_integer COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/928d76ac Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/928d76ac Diff:

[02/26] couchdb-mango git commit: Remove text search limit

2015-09-09 Thread tonysun83
Remove text search limit Rather than use hardcoded values for text search limit, we fit the value within the configurable Dreyfus max_limit parameter. FogBugzID: 44968 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[08/26] couchdb-mango git commit: Fix $all operator

2015-09-09 Thread tonysun83
Fix $all operator The $all operator was only returning docs where the field exactly matched the array. It should return docs where the provided matching array is a subset of the field's array. Ex: {"field" : { "$all" : ["Bob", "Joe"] } } should match "field" : ["Bob", "Jane", "Joe"]

[25/26] couchdb-mango git commit: Reinstate skip tests

2015-09-09 Thread tonysun83
Reinstate skip tests COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/17e4abff Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/17e4abff Diff:

[20/26] couchdb-mango git commit: Return 503 if dreyfus service does not exist

2015-09-09 Thread tonysun83
Return 503 if dreyfus service does not exist References to text will throw a 503 if the dreyfus_index module does not exist. COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/6100a0b6 Tree:

[01/26] couchdb-mango git commit: Revert "Remove reference to _text indexes"

2015-09-09 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/master 677cd2a59 -> 1de64eabb Revert "Remove reference to _text indexes" This reverts commit 955a42c3bbd0502f1623bec29edad59eddd7b2ea. Conflicts: src/mango_error.erl COUCHDB-2787 Project:

[2/2] couchdb-mango git commit: Use hypothesis instead of random values for num_string tests

2015-09-09 Thread tonysun83
Use hypothesis instead of random values for num_string tests COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/2793b9f5 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mango/tree/2793b9f5

[1/2] couchdb-mango git commit: Make testcases skip automatically when no text service

2015-09-09 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2787-modify-testcases [created] 2793b9f50 Make testcases skip automatically when no text service COUCHDB-2787 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit:

[1/2] couchdb-mango git commit: Return fields provided by user only

2015-12-08 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/2913-port-missed-commits [created] db3116c48 Return fields provided by user only When the user specifies Fields with his or her selector, filter out fields that are not in the Fields list. BugzId: 43810 Project:

[1/2] couch-replicator commit: updated refs/heads/3010-handle-429 to 7f0f3d7

2016-05-30 Thread tonysun83
Repository: couchdb-couch-replicator Updated Branches: refs/heads/3010-handle-429 c6e891d26 -> 7f0f3d7e8 Clean up syntax COUCHDB-3010 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[2/2] couch-replicator commit: updated refs/heads/3010-handle-429 to 7f0f3d7

2016-05-30 Thread tonysun83
Add random for next wait in maybe_retry COUCHDB-3010 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/7f0f3d7e Tree:

couch-replicator commit: updated refs/heads/3010-handle-429 to c6e891d

2016-05-27 Thread tonysun83
Repository: couchdb-couch-replicator Updated Branches: refs/heads/3010-handle-429 [created] c6e891d26 Add exponential backoff for 429 errors. When we encounter a 429, we retry with a different set of retries and timeout. This will theoretically reduce client replication overload. When 429s

couch-replicator commit: updated refs/heads/3010-handle-429 to 81d5544

2016-06-01 Thread tonysun83
Repository: couchdb-couch-replicator Updated Branches: refs/heads/3010-handle-429 7f0f3d7e8 -> 81d55441f Change back_off to backoff COUCHDB-3010 Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit:

[2/2] mem3 commit: updated refs/heads/2953-ushards-mm to bfd83b4

2016-02-24 Thread tonysun83
Add test for ushards COUCHDB-2953 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/bfd83b4e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/bfd83b4e Diff:

[1/2] mem3 commit: updated refs/heads/2953-ushards-mm to bfd83b4

2016-02-24 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/2953-ushards-mm [created] bfd83b4e9 Remove maintenace modes from ushards COUCHDB-2953 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/f9dcbc21 Tree:

mem3 commit: updated refs/heads/2953-ushards-mm to 8668ca6

2016-02-25 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/2953-ushards-mm bfd83b4e9 -> 8668ca60a Preserve order The previous multi-call did not take into account that multi-call is async and could possibly be out of order. COUCHDB-2953 Project:

mem3 commit: updated refs/heads/master to deed2f0

2016-02-25 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/master f20843714 -> deed2f0eb Remove maintenace modes from ushards Maintenance mode nodes were being served for ushards and this lead to nodedown errors. We now only serve non-maintenance mode nodes. COUCHDB-2953 Project:

mem3 commit: updated refs/heads/2953-ushards-mm to deed2f0 [Forced Update!]

2016-02-25 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/2953-ushards-mm 8668ca60a -> deed2f0eb (forced update) Remove maintenace modes from ushards Maintenance mode nodes were being served for ushards and this lead to nodedown errors. We now only serve non-maintenance mode nodes. COUCHDB-2953

mem3 commit: updated refs/heads/master to 699308f

2016-02-26 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/master deed2f0eb -> 699308f51 Revert "Remove maintenace modes from ushards" This reverts commit deed2f0eb15d634a643312e71e343c1e19e1b07e. COUCHDB-2953 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo Commit:

mem3 commit: updated refs/heads/2953-revert to 699308f

2016-02-26 Thread tonysun83
Repository: couchdb-mem3 Updated Branches: refs/heads/2953-revert [created] 699308f51 Revert "Remove maintenace modes from ushards" This reverts commit deed2f0eb15d634a643312e71e343c1e19e1b07e. COUCHDB-2953 Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo Commit:

couchdb-mango git commit: Support geo initial commit

2016-03-23 Thread tonysun83
Repository: couchdb-mango Updated Branches: refs/heads/62936-geo-with-query [created] 72abe479a Support geo initial commit Project: http://git-wip-us.apache.org/repos/asf/couchdb-mango/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mango/commit/72abe479 Tree:

[1/5] chttpd commit: updated refs/heads/2992-limit-doc-size to 1ac365d

2016-04-22 Thread tonysun83
Repository: couchdb-chttpd Updated Branches: refs/heads/2992-limit-doc-size f7affd0d2 -> 1ac365dd8 Move max_document_size logic to update only COUCHDB-2992 Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit:

  1   2   3   4   5   >