Hi, IIRC eDismax allows some advanced q ops syntax. Also JSON query DSL may be convenient for structuring queries. With regards to old local params syntax, it struggles with defining the end of substring to be processed, eg if we put space in the beginning of the string, dismax takes only 'white' word. My bet is /select?q.op=OR&q={!edismax qf=description v=$wr} {!lucene df=keywords q.OP=AND v=$wr}&wr=white roses&debug=true or the latter part might be written as keywords:(+white +roses). About preferable syntax https://lucidworks.com/post/solr-boolean-operators/
On Tue, Feb 27, 2024 at 7:14 AM rajani m <rajinima...@gmail.com> wrote: > Hi Solr Users, > > Could you please help me with an example query syntax that uses more than > one query parser in the same query? > > I tried the following, edismax to search against the description field and > lucene parser to search against the keywords field, but it does not work. > What is wrong? > > host:port/solr/v9/select?q={!edismax qf=description}white roses OR > {!lucene}keywords:(white AND roses)&debug=true > > The solr parsed string is following - > > "parsedquery_toString": "+((description:white roses) (description:OR) > (description:{!lucene}keywords:(white) (description:AND) > (description:roses)))", > > Thank you, > Rajani > -- Sincerely yours Mikhail Khludnev