title: Escape LukeRequest with spaces, slashes, and colon
body: <p>I am using Solr 4.1.  Using LukeRequest, I want to get the number of documents with data for a specific field.  The name of the field is something like <code>http://foo.org/bar/ baz</code> (note the space between <code>bar/</code> and <code>baz</code>).  When I visit <code>http://127.0.0.1:8983/root/admin/luke</code> I get a list of all of my fields, including the aforementioned one.  When I visit </p>
  
  <p><code>http://127.0.0.1:8983/root/admin/luke?fl=http://foo.org/bar/ baz</code></p>
  
  <p>I get no hits.  I have tried url-encoding the string, escaping slashes, escaping the colon, escaping the space, using + instead of space, and every possible combination of backslashes I can think of.  The solution posted at another StackOverflow question <a href="https://stackoverflow.com/questions/8575009/field-listing-in-solr-with-fl-parameter-for-a-field-having-space-in-between#">field listing in solr with &quot;fl&quot; parameter for a field having space in between</a> didn't work for me.</p>
  
  <p>I am really only looking for a yes-no answer to whether any documents have a value for this particular field, so if there is a better way to do this than LukeRequest, I'm all ears for that too.</p>