slugbucket / crossword-hints

Python Flask web application to aid decipherment of cryptic crossword clues for known setters
GNU General Public License v3.0
1 stars 0 forks source link

Use ElasticSearch (or couchdb) instead of SQLite3 for the database - feat0029 #11

Open slugbucket opened 5 years ago

slugbucket commented 5 years ago

Instead of having to maintain a separate list of trigger words manually extracted from the clue at submission time (or by adding to the table through SQL) it would be better to search a clue document directly for the triggers in the clues.

slugbucket commented 5 years ago

Direct searching of the clue would remove the need to maintain a separate cue_words table and having to develop the form functionality to support it; this arrangement is informal at best with no direct association between a specific clue and its trigger words.

slugbucket commented 5 years ago

See https://dev.to/aligoren/using-elasticsearch-with-python-and-flask-2i0e for an example of using Flask and ElasticSearch.