title: Multi-Field Querying on Redis Using Redis Spring
body: <p>this will be a very baic question since im new to Spring-Redis</p>
  
  <p>Im currently in the process of learning about Redis database and I'm working on a feature on priority, im compelled to Use Redis for this feature.
  Below in the challenge/Query im having.</p>
  
  <p>Right now we have a DataModel as below:</p>
  
  <pre><code>@RedisHash("Org_Work")
  public class OrgWork {
  
     private @Id @Indexed UUID id;
     private @Indexed String CorpDetails;
     private @Indexed String ContractType;
     private @Indexed String ContractAssigned;
     private @Indexed String State;
     private @Indexed String Country; 
  
  }
  </code></pre>
  
  <pre><code>public interface OrgWorkRepository extends CrudRepository&lt;HoopCalendar, String&gt; {
  
  List&lt;OrgWork&gt; findByCorpDetailsAndContractTypeAndStateAndCountry(String CorpDetails, String ContractType, String ContractAssigned, String State, String Country);
  
  }
  </code></pre>
  
  <p>we are developing an API to query on the above Datamodel where the front-end will send us CorpDetails ,ContractType, ContractAssigned, State and Country fields and we have to query these against the Redis Database and return back the DurationOfWork object.</p>
  
  <p>In this case I will be having a load of approx. 100000 calls per minute.</p>
  
  <p>Please let me know on if this is the right way and some suggestions on improving response time.</p>
  
  <p>***Updated the query</p>