> That's what I'm thinking but wouldn't that mean that I would have to have
> stored the establishment type against each entry on my db
Well, yes. How were you expecting the client-side javascript to be
able to distinguish between them?
Once you've stored the type, you might as well search it at the db
(which is after all good at searching) and not dump the whole content
to the client for searching.