Remove references to tags in Rakefile
Add author
Merge pull request #106 from ADubus/fix-rakefile-tags

Fix task seed in Rakefile
use a single index in elasticsearch for both document types.

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`
Merge pull request #107 from edx/jsa/single-index

use a single index in elasticsearch for both document types.
Refactor search code

This contains several improvements and bug-fixes:

* Take advantage of indexing changes in ead2f5e 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
Add spelling correction to text search queries

If a search has no results, then we will get suggestions from
Elasticsearch, re-query with the top suggestion, and return the results
from that query along with the suggestion that was used.

This change also changes search so that a document must match all terms
to be included in the results instead of any term.
Merge pull request #105 from edx/gprice/search-spell-correction

Refactor search, fix a bug, and implement spelling correction
Fix bug in spam blocking

Editing a comment such that it matched a blocked hash would cause the
API to return 503 but actually update the comment. This is now fixed.
Fix a bogus test
Add thread type feature

There are two thread types, discussion and question. Discussions have
the same behavior that current threads do. When a question is returned
from the API, it contains separate fields for its endorsed and non-
endorsed entries.

Co-authored-by: Jim Abramson <jsa@edx.org>
Merge pull request #108 from edx/gprice/thread-type

Add thread type feature
Add/update thread filters (flagged, unread, unanswered).
Merge pull request #112 from edx/jsa/thread-filters

Add/update thread filters (flagged, unread, unanswered).
Make Travis use an ES version we support
Merge pull request #115 from edx/gprice/travis-es-version

Make Travis use an ES version we support
Number of post are incorrect becuase deletion of comments doesn't perform deletion of subcomments one by one which cause magical comment counter not to decrese the counter properly
TNL-91
Merge pull request #113 from mlkwaqas/waqas/tnl91-incorrect-post-number

Number of post are incorrect