On Thu, Aug 20, 2009 at 10:51 AM, Andrew Clegg<andrew.cl...@gmail.com> wrote: > Paul Tomblin wrote: >> >> Is there such a thing as a wildcard search? If I have a simple >> solr.StrField with no analyzer defined, can I query for "foo*" or >> "foo.*" and get everything that starts with "foo" such as 'foobar" and >> "foobaz"? >> > > Yes. foo* is fine even on a simple string field.
Ah, I discovered what was going wrong - I was passing the url to ClientUtils.escapeQueryChars, and that was escapign the *. I have to pass the URL without the * to escapeQueryChars, then tag the * on the end. Thanks. -- http://www.linkedin.com/in/paultomblin