On Tue, Dec 9, 2014 at 12:49 PM, Dinesh Babu <dinesh.b...@pb.com> wrote:
>
> But my requirement is A* B*  to be A* B* . A* OR B*won't meet my requirement.

The syntax is what it is...  With the complexphrase parser, if you
want at phrase, you need to surround the clauses with double quotes:
"A* B*"

-Yonik
http://heliosearch.org - native code faceting, facet functions,
sub-facets, off-heap data


We have chosen the NGram solution and it is working for our rquirement
at the moment. Thanks for your input and help Yonik
>
> Regards,
> Dinesh Babu.
>
>
> -----Original Message-----
> From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley
> Sent: 08 December 2014 17:58
> To: solr-user@lucene.apache.org
> Subject: Re: How to stop Solr tokenising search terms with spaces
>
> On Mon, Dec 8, 2014 at 12:01 PM, Erik Hatcher <erik.hatc...@gmail.com> wrote:
>> debug output tells a lot.  Looks like in the last two examples that the 
>> second part (Viewpoint*) is NOT parsed with the complex phrase parser - the 
>> whitespace thwarts it.
>
> Actually, it looks like it is, but you're not telling the complex phrase 
> parser to put the two clauses in a phrase.  You need the quotes.
>
> Even for complexphrase parser
> A* B*  is the same as A* OR B*
>
> -Yonik
> http://heliosearch.org - native code faceting, facet functions, sub-facets, 
> off-heap data

Reply via email to