1. 04 Jun, 2014 1 commit
    • Refactor search code · 84efbb62
      This contains several improvements and bug-fixes:
      
      * Take advantage of indexing changes in ead2f5e3 to reduce the number of
        round trips to execute a search
      * Use Tire scan to include all matching threads
      * Execute final sort/pagination in Mongo
      * Share sorting code
      * Eliminate separate presenter for search results (which removes unused
        highlighting functionality)
      
      JIRA: FOR-607
      Greg Price committed
  2. 29 May, 2014 1 commit
  3. 28 May, 2014 1 commit
    • use a single index in elasticsearch for both document types. · ead2f5e3
      WARNING: Must rebuild search index!
      
      Starting with this change, the name of the search index used by the
      service has changed.  The new search index must be created before
      deploying this version of the application.  There are two ways of doing
      this:
      
      * Offline (recommended)
      Follow [these instructions](https://github.com/edx/cs_comments_service/wiki/Search-Indexes#offline-procedure) to perform an offline rebuild.
      
      * Online
      1. Deploy this code to a host which is not serving HTTP requests, and
      run `rake search:rebuild`
      2. When the rebuild finishes, deploy the updated code on live servers.
      3. run `rake search:catchup[MINUTES]` where minutes is the amount of
      time it took to run rebuild in step 1.
      4. run `rake search:prune`
      jsa committed
  4. 22 May, 2014 3 commits
  5. 16 May, 2014 2 commits
  6. 14 May, 2014 4 commits
  7. 13 May, 2014 1 commit
  8. 12 May, 2014 2 commits
  9. 09 May, 2014 1 commit
  10. 08 May, 2014 1 commit
  11. 06 May, 2014 1 commit
  12. 02 May, 2014 4 commits
  13. 01 May, 2014 2 commits
  14. 16 Apr, 2014 1 commit
  15. 15 Apr, 2014 1 commit
  16. 14 Apr, 2014 1 commit
    • Fix active threads endpoint · 5f759e2d
      Previously, pagination was done before reducing from content to threads,
      which meant that fewer threads than requested could be returned and that
      the number of pages returned could be incorrect.
      Greg Price committed
  17. 10 Apr, 2014 1 commit
  18. 09 Apr, 2014 1 commit
  19. 03 Apr, 2014 1 commit
  20. 02 Apr, 2014 1 commit
  21. 25 Mar, 2014 2 commits
  22. 20 Mar, 2014 2 commits
  23. 17 Mar, 2014 2 commits
  24. 10 Mar, 2014 3 commits