You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Walter Underwood <wu...@wunderwood.org> on 2016/02/26 22:51:16 UTC
Disable phrase search in edismax?
I’m creating a query from MLT terms, then sending it to edismax. The neighboring words in the query are not meaningful phrases.
Is there a way to turn off phrase creation and search for one query? Or should I separate them all with “OR”?
wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/ (my blog)
Re: Disable phrase search in edismax?
Posted by Binoy Dalal <bi...@gmail.com>.
There's also an autogeneratephrasequeries parameter that goes with your
field definitions in the schema.
Make sure that is set to false.
On Sat, 27 Feb 2016, 03:56 Ahmet Arslan <io...@yahoo.com.invalid> wrote:
>
>
> Hi,
>
> If you don't set (phrase fields) pf* parameters, phrase creation is
> automatically disabled, no?
>
> Ahmet
>
> On Friday, February 26, 2016 11:51 PM, Walter Underwood <
> wunder@wunderwood.org> wrote:
>
>
>
> I’m creating a query from MLT terms, then sending it to edismax. The
> neighboring words in the query are not meaningful phrases.
>
> Is there a way to turn off phrase creation and search for one query? Or
> should I separate them all with “OR”?
>
> wunder
> Walter Underwood
> wunder@wunderwood.org
> http://observer.wunderwood.org/ (my blog)
>
--
Regards,
Binoy Dalal
Re: Disable phrase search in edismax?
Posted by Ahmet Arslan <io...@yahoo.com.INVALID>.
Hi,
If you don't set (phrase fields) pf* parameters, phrase creation is automatically disabled, no?
Ahmet
On Friday, February 26, 2016 11:51 PM, Walter Underwood <wu...@wunderwood.org> wrote:
I’m creating a query from MLT terms, then sending it to edismax. The neighboring words in the query are not meaningful phrases.
Is there a way to turn off phrase creation and search for one query? Or should I separate them all with “OR”?
wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/ (my blog)