title: Using an unspecified index. Consider adding ".indexOn": "g"
body: <p>I'm using Geofire to do a circleQuery in a certain area. With my observers set up I am getting back locations, however, with the location I also get back a "Using an unspecified index. Consider adding ".indexOn": "g""</p>
  
  <p>My db for my geofire looks like this karmadots/geofire/{events}</p>
  
  <pre><code>"rules": {
    "karmadots": {
      ".read": true,
      ".write": true, 
      "geofire": {
        "$events": {
          ".indexOn": ["g"]
        }
      }   
    }
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>"rules": {
    "karmadots": {
      ".read": true,
      ".write": true,
      "geofire": {
        ".indexOn": ["g"]
      } 
    }
  }
  </code></pre>
  
  <p>Both don't make the message go away. Is there something else I can try reading or try as an example?</p>
  
  <p>Thanks for the help.</p>
  
  <p>EDIT:</p>
  
  <p>My path is xxxxx.firebaseio.com/karmadots/geofire/{keys}</p>
  
  <p>This is how I query:</p>
  
  <pre><code>func setupListeners(query: GFQuery){
  
      // Event is in initial area or entered area
      query.observeEventType(GFEventTypeKeyEntered, withBlock: { (key: String!, location: CLLocation!) in
          println("Key '\(key)' entered the search area and is at location '\(location)'\n")
      })
  
      // Event left area
      query.observeEventType(GFEventTypeKeyExited, withBlock: { (key: String!, location: CLLocation!) in
          println("Key '\(key)' left the search area\n")
      })
  
      // Event moved but is still in area
      query.observeEventType(GFEventTypeKeyMoved, withBlock: { (key: String!, location: CLLocation!) in
          println("Key '\(key)' moved in the search area and is at location '\(location)'\n")
      })
  
  }
  </code></pre>