Description
Create a new sample document type=hotel for the travel-sample app that is suitable for use by FTS.
This structure is great: https://gist.github.com/WillGardella/64e5c54f254f2231758f
If we want to hand roll our own, I would like:
1. Bare arrays containing text reviews
“reviews”:[“This hotel was fun but the elevator was really slow”,”I was attacked by angry gerbils”,”Too pricey for what you get.”]
what is also fine is an array that contains embedded review objects:
2. A text field in an embedded object. The geo (geo.lat, geo.lon) is good, I can show something about mapping with that. Brewery has an attribute called accuracy (geo.accuracy) in their embedded geo object that has text with low cardinality so it would be great to add that to hotels. It’s also good if we have an embedded object like address or something that has a long text field.
"geo":
{ "accuracy": "ROOFTOP", "lat": 37.7825, "lon": -122.393 }3.One boolean value for "vacancy"
Please strip null attributes