GitHub user GERey opened a pull request:

    https://github.com/apache/usergrid/pull/497

    Selective indexing

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/GERey/usergrid selectiveIndexingCherryPicked

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid/pull/497.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #497
    
----
commit 56e03718a911a6a1215fa75522b54ad694c4b566
Author: George Reyes <[email protected]>
Date:   2016-03-03T16:20:30Z

    Adding in beginning test.

commit 58e6cf38660350b16f3d443dfe781bc9f1c90903
Author: George Reyes <[email protected]>
Date:   2016-03-07T18:40:27Z

    Added a method to properly set the owner ( at least the email ) to the 
schema map in elastic search
    Removed traces of creating a new column family. Map manager is the way to 
go.
    Added the get endpoint to the service resource that will allow us to do 
gets.
    Added a way for the endpoint to read the JSON response and did the specific 
call out so that we could work around having to make a service ( Which is bad 
code )
    
    Returned an object with a terrible name to debug the response that gets 
returned.
    Added AbstractCollectionService method that allows us to get the workaround 
to a normal call in order to get around path permission checking.
    AbstractService has the workaround which is what needs to be done if you 
want to avoid using a schema.
    Added a new service action for the work around.

commit 99c75ccd6ca16f93e3be934e5f1c5455d6e375c5
Author: George Reyes <[email protected]>
Date:   2016-03-09T20:18:36Z

    Cherry picking 2 more commits with the working selective indexing but 
improperly

commit aa7f776edae7f9a2cb4c1577b6c86e1c028f082a
Author: George Reyes <[email protected]>
Date:   2016-03-11T23:19:52Z

    Another cherry pick with another issue with collection resource it and 
nothing else.

commit 3c98c2ddefc799924d4069b6010eac4e561a69b2
Author: George Reyes <[email protected]>
Date:   2016-03-12T00:25:25Z

    Cleaned up the test

commit a2ec1dfaf8ea76e7e660f7103ebfabeded57cff0
Author: George Reyes <[email protected]>
Date:   2016-03-14T19:28:35Z

    no message

commit f0480b4881a097e50ad2153e735268834b40dbb9
Author: George Reyes <[email protected]>
Date:   2016-03-16T18:38:10Z

    no message

commit c0b96a56729e8f1bf10a6c883756dbedb08a4baa
Author: George Reyes <[email protected]>
Date:   2016-03-16T22:21:04Z

    Ignored test that isn't currently supported due to needing a new endpoint.
    Added logic that will index entire arrays by only specifying the top level 
identifier.

commit 14912644ac3d2c5098a0a512cba9f638666db155
Author: George Reyes <[email protected]>
Date:   2016-03-18T16:52:21Z

    Added most recent changes and a test that exposes potential issue when 
selective indexing properties.

commit 859d6bfd3c189279fb750eb68502f75ed96d49bc
Author: George Reyes <[email protected]>
Date:   2016-03-18T18:13:36Z

    Added some helper methods and fixed the iterator by adding the correct 
removal.

commit 2562e9702a19236ad713bdc02402e8b1486cb08c
Author: George Reyes <[email protected]>
Date:   2016-03-18T20:39:12Z

    Added comments explaining what the selective indexing does and how it is 
accomplished.

commit aebfe1b6db6f4855cb3cff4d371120161106e597
Author: George Reyes <[email protected]>
Date:   2016-03-18T22:44:02Z

    Unignored and fixed the test that verified reindexing. It now passes 
because I've added the reindexing functionality and proved it works. More tests 
to be added.

commit 975616b0a13187d5c87b2eacc3266b27661ac904
Author: George Reyes <[email protected]>
Date:   2016-03-22T23:24:08Z

    Cleaned up reindexing test, and covered a case where reindexing wasn't 
properly filtering values.

commit e1d60b4c2111f9eea47bf6824becb1c09cc81d6c
Author: George Reyes <[email protected]>
Date:   2016-03-23T16:24:12Z

    Cleaned up the updating test to verify that a collection of 10 will be 
indexed.

commit 1ba12b882ac9454a40e938199007a575b8d13078
Author: George Reyes <[email protected]>
Date:   2016-03-24T17:37:57Z

    Commented out the delay because it broke tests.
    Cleaned up some commented out code and spaces.

commit 82ff53b145d84a7fbf198f0eb63153af0d2b6633
Author: George Reyes <[email protected]>
Date:   2016-03-25T16:06:10Z

    Comments with changes to make to selective indexing.
    Changes to reindexing to add a delay given the reindexing call.

commit b5d81ac0334fc5aeb204f137bfcbd500c7c1086c
Author: George Reyes <[email protected]>
Date:   2016-03-29T21:11:56Z

    Working lower level selective indexing.
    Working field updates when we do reindexing and stuff.
    Added test proving that it works.

commit 0e53dcf118c71a7d9e496f62372ade25ca9a597d
Author: George Reyes <[email protected]>
Date:   2016-03-29T22:46:44Z

    Simplified the CollectionResource and remove recursive call based on 
serviceResource wonkiness

commit 0feeebbccd47ebc642925da27164bb00e26a7e54
Author: George Reyes <[email protected]>
Date:   2016-03-29T23:02:29Z

    Cleaning up the left over code from the endeavor.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to