title: I want to search the value over all the fields but getting following error.what will be the better approach?
body: <p>I am creating search using solr</p>
  
  <p>I have tried this solution 
  <a href="https://stackoverflow.com/questions/12833592/solr-query-over-all-fields-best-practice">Solr - Query over all fields best practice</a></p>
  
  <pre><code>org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr/sample_core: undefined field all
  </code></pre>
  
  <p>I have tried creating new field <code>"all"</code> and copied all the fields to all and searched for it but giving the above error</p>