title: How can I query multiple conditions? (Firestore query error)
body: <p>I am trying to implement a conditional clause in a firestore query.</p>
  <hr />
  <p>This is my code.</p>
  <pre><code> FirebaseFirestore db= FirebaseFirestore.getInstance();
   db.collection(&quot;collection&quot;)
        .whereNotEqualTo(&quot;field1&quot;,value1)
        .whereGreaterThan(&quot;field2&quot;,start_value)
        .whereLessThan(&quot;field2&quot;,end_value)
   .get() ....//skip
  </code></pre>
  <hr />
  <p>I am getting the following error..</p>
  <blockquote>
  <p>java.lang.IllegalArgumentException: All where filters with an inequality (notEqualTo, notIn, lessThan, lessThanOrEqualTo, greaterThan, or greaterThanOrEqualTo) must be on the same field. But you have filters on 'field1' and 'field2'</p>
  </blockquote>
  <hr />
  <p>How can I query multiple conditions?</p>