title: Lucene select all query
body: <p>Im using 3.6.2 lucene and I try to write query which will select all docs.
  Here's some of my code:</p>
  
  <pre><code>searchString = "content:*";
  query = parser.parse(QueryParser.escape(searchString));
  indexSearcher.search(query, null, collector);
  </code></pre>
  
  <p>But this request returns only about 25% of docs, I cant get why and how to make such query.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p><code>*:*</code> also didn't select all docs, but replacing query with <code>new MatchAllDocsQuery()</code> helped, thanks.</p>