Re: Query with phrases, wildcards and fuzziness

2013-05-22 Thread Jack Krupansky
al Message- From: Ross Simpson Sent: Wednesday, May 22, 2013 7:44 AM To: java-user@lucene.apache.org Subject: Re: Query with phrases, wildcards and fuzziness One further question: If I wanted to construct my query using Query implementations instead of a QueryParser (e.g. TermQuery, WildcardQu

Re: Query with phrases, wildcards and fuzziness

2013-05-22 Thread Ross Simpson
One further question: If I wanted to construct my query using Query implementations instead of a QueryParser (e.g. TermQuery, WildcardQuery, etc.), what's the right way to duplicate the "OR" functionality I wrote about below? As I mentioned, I've read that wrapping query objects in a BooleanQ

Re: Query with phrases, wildcards and fuzziness

2013-05-21 Thread Ross Simpson
Jack, thanks very much! I wasn't considering a space a special character for some reason. That has worked perfectly. Cheers, Ross On May 22, 2013, at 10:24 AM, Jack Krupansky wrote: > Just escape embedded spaces with a backslash. > > -- Jack Krupansky > > -Original Message- From: R

Re: Query with phrases, wildcards and fuzziness

2013-05-21 Thread Jack Krupansky
Just escape embedded spaces with a backslash. -- Jack Krupansky -Original Message- From: Ross Simpson Sent: Tuesday, May 21, 2013 8:08 PM To: java-user@lucene.apache.org Subject: Query with phrases, wildcards and fuzziness Hi all, I'm trying to create a fairly complex query, and havi