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

feat0002 - add searchable cue words #2

Closed slugbucket closed 5 years ago

slugbucket commented 6 years ago

Create a set of cue words used in the crossword clues that can be searched for in the clues column of the crossword_solutions tables. This should display a list of matching solutions with the clues and hint.

slugbucket commented 5 years ago

Implementing a search page with an autocomplete box for a cue word such as 'principally', 'initially' or 'oddly' could be done with a one-column lookup table of cue words that are submitted as a search over the clues. Or the autocomplete could trigger a search of the crossword_solutions table directly with a list of matching clues to select from. This approach is likely to result in a long return list to select from making it hard to get a variety of possible clues. We'll develop against the lookup table of cue words, with the autocomplete allowing for multiple words with an implicit OR search.

slugbucket commented 5 years ago

The crossword-solutions form should allow for the addition of cue words to the lookup table as a comma-separated list.

slugbucket commented 5 years ago

Perhaps the cue search page should include an option to filter by setter?

slugbucket commented 5 years ago

The results displayed by he search should include

slugbucket commented 5 years ago

completed the addition of an autocomplete search for looking up cue words with a form to return a list of matching clues and solutions.