Permalink
Commits on Nov 21, 2012
  1. Rename brewery property "geo.lng" to "geo.lon"

    Wed, 21 Nov 2012 21:29:50 +0300
    <mschoch> who's in charge of the beer-sample dataset?
    <avsej> mschoch, i am
    <avsej> what's wrong again?
    <avsej> :)
    <mschoch> :) nothing is wrong
    <mschoch> just wanted to propose a slight change
    * ingenthr listens
    <mschoch> for breweries we encode the geo point as { lat: x, lng: y }
    <mschoch> elasticsearch supports a variety of formats, but not that one
    <mschoch> it requires "lon" not "lng"
    <mschoch> if we switched to "lon" it would pretty much work out of the box
    <mschoch> alternatively it supports geojson [ lat, lon] as well
    <ingenthr> seems sane to me, though it'll touch other stuff to be sure
    <mschoch> its a really small thing i know, but figured i'd ask
    <avsej>  { "lat": x, "lon": y } will be ok?
    <mschoch> yeah i've tested that
    <ingenthr> we should get vmx to weigh in if we can though
    <mschoch> just changing "lng" to "lon" in the existing documents works
    <avsej> ok, will make a patch
    <mschoch> agree on running it by vmx
    <ingenthr> just in case there's something to consider in changes
    <ingenthr> especially w.r.t. GeoJSON
    
    Change-Id: If256b25d5aacf5e9a36f68d08ef5a647ed31d79a
    committed Nov 21, 2012
Commits on Nov 8, 2012
  1. Check brewery_id presence in "brewery_beers" mapper

    Now it will look like:
    
      function(doc, meta) {
        switch(doc.type) {
        case "brewery":
          emit([meta.id]);
          break;
        case "beer":
          if (doc.brewery_id) {
            emit([doc.brewery_id, meta.id]);
          }
          break;
        }
      }
    
    Change-Id: Id945e5c85d7f05d5f316eebc65ea4e8fe6920b25
    committed Nov 8, 2012
  2. Move all docs into docs/ directory

    Change-Id: I676e33220a63b10b3be98e14603d057dcb64aa9c
    committed Nov 8, 2012
Commits on Sep 25, 2012
  1. Change naming schema to use only underscored names separated with dash

    Change-Id: Ia6872dab1b8d94516b4c65df81701b680270eea0
    committed Sep 25, 2012
Commits on Sep 17, 2012
  1. Remove spatial view, because it is experimental server feature

    Change-Id: I3d629922e334211f39acb47d4adb8079d0b95ded
    committed Sep 17, 2012
  2. Fixup ids. Now they are using form "type.lowercase_and_underscored_name"

    Change-Id: Idea5dee8967b7e56ffdd3817afd55e16c3792a44
    committed Sep 17, 2012
Commits on Aug 21, 2012
  1. Fix references

    committed Aug 21, 2012
  2. Fix ID extraction regex

    committed Aug 21, 2012
  3. Add loader script

    committed Aug 21, 2012
  4. Fixup last non-UTF8 characters

    committed Aug 21, 2012
Commits on Aug 20, 2012
  1. Add script to recreate dataset

    committed Aug 20, 2012
  2. move design doc into subdirectory

    committed Aug 20, 2012
  3. remove by_key_value

    committed Aug 20, 2012
  4. fix formatting

    committed Aug 20, 2012
  5. initial import

    committed Aug 20, 2012