Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Capabilities #6

Open
harmonwood opened this issue Oct 6, 2016 · 1 comment
Open

Search Capabilities #6

harmonwood opened this issue Oct 6, 2016 · 1 comment

Comments

@harmonwood
Copy link
Owner

harmonwood commented Oct 6, 2016

The user must have the ability to search for media.

@harmonwood
Copy link
Owner Author

Solr or Elastic search would be great, but this is a demo app that uses a base install of sqlite3 not really a production level thing.

A quick view like this may do the trick:

SELECT
  media.title ||
  media.isbn ||
  media.summary ||
  author.first_name ||
  author.last_name ||
  author.display_name 
  AS search
FROM 
 media 
 LEFT JOIN media_authors ON media.id = media_authors.media_id
 LEFT JOIN author ON media_authors.author_id = author.id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant