@app.route('/genericGeoSearch/<term>/<suburbCode>/<startP>/<sizeP>/<startDate>/<endDate>', methods=['GET', 'OPTIONS'])
@crossdomain(origin='*')
def getGenericGeoSearch(term, suburbCode, startP, sizeP, startDate, endDate):
    return jsonify(indexer.getTweetsBySuburb(term, suburbCode, startP, sizeP, startDate, endDate))
@app.route('/genericGeoSearch/<term>/<suburbCode>/<startP>/<sizeP>/<startDate>/<endDate>', methods=['GET', 'OPTIONS'])
@crossdomain(origin='*')
def getGenericGeoSearch(term, suburbCode, startP, sizeP, startDate, endDate):
    return jsonify(indexer.getTweetsBySuburb(term, suburbCode, startP, sizeP, startDate, endDate))