You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by matthew sporleder <ms...@gmail.com> on 2021/05/26 01:09:41 UTC

using _query_ from edismax or combining edismax with others

Can someone point me to a bunch of examples using _query_?

defType=edismax&q=dish:"cheese and grits"  <- how do I add something
like {!prefix or {!lucene etc here?

Thanks,
Matt

Re: using _query_ from edismax or combining edismax with others

Posted by Andrea Gazzarini <a....@sease.io>.
Hi,
I'm not entirely sure I got your question: you mean something like this?
This example combines an edismax and a join query by reusing (qq) a plain
fielded query.

_query_:{!edismax qf=$qf_fieldlist pf=$pf_fieldlist v=$qq} OR
_query_:{!join from=fieldX to=fieldY v=$qq}
   &qq=dish:"cheese and grits"
   &qf_fieldlist=fielda,fieldb,fieldc
   &pf_fieldlist=fieldb,fieldc,fieldh

On Wed, May 26, 2021 at 3:10 AM matthew sporleder <ms...@gmail.com>
wrote:

> Can someone point me to a bunch of examples using _query_?
>
> defType=edismax&q=dish:"cheese and grits"  <- how do I add something
> like {!prefix or {!lucene etc here?
>
> Thanks,
> Matt
>


-- 
Andrea Gazzarini
*Search Consultant, R&D Software Engineer*


www.sease.io

email: a.gazzarini@sease.io
cell: +39 349 513 86 25