Open dmfenton opened 9 years ago
@dmfenton by mappings you mean like a schema right? So a provider would pass in the fields that could be searched?
Yep and what type they are.
Can you show me an example of using a single index with different fields mapped? or does this now mean we'd have a different index for every dataset?
we probably should keep everything it it's own index you can search across all indexes like so: http://localhost:9200/*/_search
this will be tricky. We'll need to create a schema, but providers currently dont pass schema info down to the cache on creation. Koop caches assume uniform json. Will need to think through that and avoid doing something in a provider that is custom to ES.
This is gonna be tough, but totally worth it.
Needs:
Some options for generating ES json: