<div dir="ltr">I would look into using <a href="https://www.postgresql.org/docs/9.5/static/textsearch.html">full text search</a> for PostgreSQL. It was pretty straight forward to implement and was good enough for my app. However, since you have the requirement for SQLite, you will need to look into the <a href="https://sqlite.org/fts5.html">SQLite FTS5 Extension</a> also. <br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 3:10 PM, Alex Alex <span dir="ltr"><<a href="mailto:alex-alex-90@wp.pl" target="_blank">alex-alex-90@wp.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm looking for a database search solution compatible with SQLAlchemy with sqlite and postgresql. At first flask-whooshalchemy seemed like a great option but it seems its development has stopped and it generates some compatybility warnings and according to this <a href="https://github.com/gyllstromk/Flask-WhooshAlchemy/issues/21" rel="noreferrer" target="_blank">https://github.com/gyllstromk/<wbr>Flask-WhooshAlchemy/issues/21</a> it requires SQLALCHEMY_TRACK_MODIFICATIONS to be set to True. But even after those changes it still misses some search result on text columns. So I like the idea how it<br>
supposed to work, but it is not working correctly in my case and it seems it is using deprecated options.<br>
<br>
Elasticsearch is another option but it requires additional process to be run and I would like to keep my architecture as simple as possible (and at one point I will need to run celery and redis to handle async jobs but that is future).<br>
<br>
I could get away for some cases with SQLAlchemy filter.like('%%') queries but those will not handle all the search cases.<br>
<br>
My question is what are you guys using for searching through text data? What are your recommendations?<br>
Cheers,<br>
Alex<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Scott Werner<br><a href="mailto:scott.werner.vt@gmail.com" target="_blank">scott.werner.vt@gmail.com</a><br></div></div></div>
</div></div>