Closed slugbucket closed 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.
The crossword-solutions form should allow for the addition of cue words to the lookup table as a comma-separated list.
Perhaps the cue search page should include an option to filter by setter?
The results displayed by he search should include
completed the addition of an autocomplete search for looking up cue words with a form to return a list of matching clues and solutions.
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.