On Sun, Sep 11, 2011 at 1:15 PM, Mark juszczec <mark.juszc...@gmail.com> wrote: > I am looking for a text string with a single, embedded space. For the > purposes of this example, it is "a b" and its stored in the index in a field > called field. > > Am I incorrect in assuming the query field:"a b" will match the the string a > followed by a single embedded space followed by a b?
Yes, that should work regardless of how the field is indexed (as a big single token, or as a normal text field that doesn't preserve spaces). -Yonik http://www.lucene-eurocon.com - The Lucene/Solr User Conference