Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Move Search Properties from the Models to the Application #1

Open
href opened this issue Sep 28, 2015 · 0 comments
Open

Move Search Properties from the Models to the Application #1

href opened this issue Sep 28, 2015 · 0 comments

Comments

@href
Copy link
Contributor

href commented Sep 28, 2015

Most search properties are currently defined on the ORM model inside various onegov.* modules. I'm not yet sure this is a good idea, because we probably want different search properties for different applications.

Since we do not have different applications yet, this is currently not a pressing issue. But I think we should change this to a model where applications register models they would like to have search, alongside some kind of adapter which receives the model instance and is supposed to return the actual values for the document stored in elasticsearch.

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

No branches or pull requests

1 participant