@bkabrda Hi , I'm adding whooshee to an existing application. I tried calling whooshee.reindex() , but it returns empty data .
Here's my route
@bp.route('/search/<query>', methods=['GET'])
def search_product(query):
data_schema = FinishedGoodsSchema(many=True)
results = FinishedGoods.query.whooshee_search(query').order_by(FinishedGoods.id.desc())
print(results)
json_data = data_schema.dump(results)
return jsonify(json_data)
Here's what the SQL prints out to ( only the last part )
size_master_3.id = size_goods_child_1.size_id) ON finished_goods_child_1.id
= size_goods_child_1.goods_id
WHERE null ORDER BY finished_goods.id DESC
@bkabrda Hi , I'm adding whooshee to an existing application. I tried calling
whooshee.reindex(), but it returns empty data .Here's my route
Here's what the SQL prints out to ( only the last part )