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

type in the organization data model #57

Closed
spara opened this issue Jul 1, 2013 · 5 comments
Closed

type in the organization data model #57

spara opened this issue Jul 1, 2013 · 5 comments

Comments

@spara
Copy link

spara commented Jul 1, 2013

Type is not in the organization model, if we add it it should be called organization_type instead of just type. The reason is that if we use elasticsearch, type is a reserved word.

@anselmbradford
Copy link
Member

My 2cents... I'd opt for "entry_type" to generalize the applicable data.

@spara
Copy link
Author

spara commented Jul 1, 2013

Works for me; although I would like an enumerated list of entry_types a la openeligibility. I like bounds in my universe, string typing and all of that.

@monfresh
Copy link
Member

monfresh commented Jul 2, 2013

If we use the OpenEligibility categories, then I think we should just rename our keywords field to categories. Each organization would have one or more categories (based on the services they provide), and each category belongs to one top-level category, defined in a separate collection. This is what I am proposing in issue #45.

@anselmbradford
Copy link
Member

I think that's the structure here too: codeforamerica/ohana-web-search#30

@monfresh
Copy link
Member

The API now supports both categories (for OpenEligibility taxonomy) and kind to define the general type of organization, such as farmers' markets, museums, libraries, parks, entertainment, human services, etc.. As an initial step towards making the search results more human services-centric, we are marking any non-human services locations as kind="other", and we can then filter out all "other" locations from SMC-Connect until we have tagged all human services locations, at which point we can use the kind=human filter.

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

3 participants