elastic-recheck/elastic_recheck/tests/unit/samples
Sean Dague 42e3402806 refactor templates into query_builder
as part of trying to simplify the core elasticRecheck, refactor
the query creation into a separate set of query_builder routines.
This takes away some of the duplication between the queries, and
attempts to add documentation to the uses for each of them.

add elasticRecheck fake pyelasticsearch testing

build basic fixtures for unit testing that let us fake out the
interaction to pyelasticsearch. This uses the json samples added
for previous testing as the return results should an inbound
query match one of the queries we know about.

If the query is unknown to us, return an empty result set. Unit
testing for both cases included going all the way from the top
level Classifier class.

Change-Id: I0d23b649274b31e8f281aaac588c4c6113a11a47
2013-10-21 13:46:57 -04:00
..
bug-1191960.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1211915.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1217734.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1218391.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1224001.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1225664.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1226337.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1229475.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1230407.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1232748.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1235435.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1235437.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1235486.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1239637.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1239856.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
bug-1240256.json add SearchResultSet and Hit objects 2013-10-21 13:45:55 -04:00
no-results.json refactor templates into query_builder 2013-10-21 13:46:57 -04:00