title: I am trying to get all domains that contain a certain string to no avail
body: <p>I am trying to get all domains that contain a certain string to no avail.</p>
  
  <p>I tried </p>
  
  <pre><code>fql?q=SELECT url, id, type, site FROM object_url WHERE strpos(url,'a') &gt;=0
  </code></pre>
  
  <p>and getting :</p>
  
  <pre><code>{
    "error": {
      "message": "Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql ", 
      "type": "NoIndexFunctionException", 
      "code": 604
    }
  }
  </code></pre>
  
  <p>I tried </p>
  
  <pre><code>fql?q=SELECT domain_name FROM domain WHERE strpos(domain_name,'a') &gt;=0
  </code></pre>
  
  <p>And I am getting:</p>
  
  <pre><code>{
    "error": {
      "message": "You must specify a domain_id or a domain_name", 
      "type": "NoIndexFunctionException", 
      "code": 604
    }
  }
  </code></pre>
  
  <p>In graph api there is no option for search type domain or url only pages. I need to get domains from FB</p>
  
  <p>First which table should I query domain or object_url?</p>