codeforamerica / chime

A city-focused content management system
http://chimecms.org/
BSD 3-Clause "New" or "Revised" License
35 stars 12 forks source link

Implement search functionality in Chime-Starter #210

Open norrishung opened 9 years ago

norrishung commented 9 years ago

Correct me if I'm wrong but this seems like a blocker for a functional government alpha?

This is not straightforward since there is no database in static sites to query.

Implementations of search in Jekyll sites seem to use a client side solution that involves a static json file that mimics a back-end database.

Something like this: http://lunrjs.com/

Alternatively, we could use custom google search but that doesn't seem like a very elegant solution.

wpietri commented 9 years ago

We should definitely think some about when and how much we want to invest in search. For the alpha we can presumably use some mostly-adequate off the shelf thing. But seeing how much of Oakland's traffic is search, I think we're eventually going to want a solution where we can do a lot of custom tuning. Some of it would probably be done by us as part of the product. E.g. we teach it all the important synonyms used for "how do I get my towed car back?" But some of it will surely be local.

phae commented 9 years ago

@migurski and I have been fairly comfortable just saying we'll use Google custom search for now (for the purposes of bootcamp, say).