Hi Rajani This may help. I'm thinking you might want to do some query alias substitution kind of thing? plus the first 'OR' might force your query into lucene query parser mode overall?
I like Hoss' breakdown in this presentation for query substitution syntax... :) the Lucene/Solr Revolution 2016 presentation by hoss <https://home.apache.org/~hossman/rev2016/#/36/3> - see slideshow link at top... Best Robi On Mon, Feb 26, 2024 at 8:15 PM rajani m <[email protected]> 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 >
