How to add two fieldConditons in Entity field Query? Is this the correct way to add field Conditions

$query-&gt;entityCondition('entity_type', 'profile2')
   -&gt;entityCondition('bundle', 'user_profile')
   -&gt;fieldCondition('field_town_city', 'value', "%".$search_title."%", 'LIKE')
   -&gt;fieldCondition('field_land_state', 'value', "%".$search_title."%", 'LIKE');
You can chain multiple field conditions, however I'd probably try something like this (haven't tested it):

-&gt;fieldCondition('field_town_city', 'value', $search_title, 'CONTAINS')


The EntityFieldQuery::fieldCondition() invokes the addFieldCondition() method, see the possible $op values on api.drupal.org:

https://api.drupal.org/api/drupal/includes!entity.inc/function/EntityFieldQuery%3A%3AaddFieldCondition/7