Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18221

[FTS] Create Travel Sample Demo Database for FTS

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • cbft, tools
    • Security Level: Public

    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

      Attachments

        1. encodings.txt
          2.95 MB
          Sergey Avseyev

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              will.gardella Will Gardella (Inactive)
              will.gardella Will Gardella (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty