title: Adding constraints to my searchable.xml
body: <p>I am using the following xml file to implement auto-suggest for my SearchView:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;searchable xmlns:android="http://schemas.android.com/apk/res/android"
  android:label="@string/find_contact"
  android:hint="@string/find_contact"
  android:gravity="center"
  android:includeInGlobalSearch="true"
  android:queryAfterZeroResults="true"
  android:searchMode="queryRewriteFromText"
  android:searchSettingsDescription="@string/find_contact"
  android:searchSuggestAuthority="com.android.contacts"
  android:searchSuggestIntentAction="android.provider.Contacts.SEARCH_SUGGESTION_CLICKED"
  android:searchSuggestIntentData="content://com.android.contacts/contacts/lookup" &gt;
  
  &lt;!-- allow green action key for search-bar and per-suggestion clicks --&gt;
  &lt;actionkey
      android:keycode="KEYCODE_CALL"
      android:queryActionMsg="call"
      android:suggestActionMsg="call" /&gt;
  
  &lt;/searchable&gt;
  </code></pre>
  
  <p>The problem is, along with suggesting valid contacts, it provides suggestion of email ids in contacts and other "bogus" contacts.</p>
  
  <p><strong>I want to add a constraint to give suggestions only for valid phone contacts, that is contacts that have a phone number.</strong></p>
  
  <p>How to implement this?</p>