Boolean clauses in ComplexPhraseQuery

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Boolean clauses in ComplexPhraseQuery

Chuming Chen
Hi All,

Does Solr supports boolean clauses inside ComplexPhraseQuery?

For example: {!complexphrase inOrder=true} NOT (field: “value is this” OR field: “value is that”)

Thanks,

Chuming

Reply | Threaded
Open this post in threaded view
|

Re: Boolean clauses in ComplexPhraseQuery

Mikhail Khludnev-2
Why not?

On Thu, Oct 4, 2018 at 6:52 PM Chuming Chen <[hidden email]> wrote:

> Hi All,
>
> Does Solr supports boolean clauses inside ComplexPhraseQuery?
>
> For example: {!complexphrase inOrder=true}      NOT (field: “value is
> this” OR field: “value is that”)
>
> Thanks,
>
> Chuming
>
>

--
Sincerely yours
Mikhail Khludnev
Reply | Threaded
Open this post in threaded view
|

Re: Boolean clauses in ComplexPhraseQuery

Zheng Lin Edwin Yeo
You may refer to this documentation:
https://lucene.apache.org/solr/guide/7_5/other-parsers.html

Regards,
Edwin

On Fri, 5 Oct 2018 at 15:48, Mikhail Khludnev <[hidden email]> wrote:

> Why not?
>
> On Thu, Oct 4, 2018 at 6:52 PM Chuming Chen <[hidden email]> wrote:
>
> > Hi All,
> >
> > Does Solr supports boolean clauses inside ComplexPhraseQuery?
> >
> > For example: {!complexphrase inOrder=true}      NOT (field: “value is
> > this” OR field: “value is that”)
> >
> > Thanks,
> >
> > Chuming
> >
> >
>
> --
> Sincerely yours
> Mikhail Khludnev
>