I am migrating a solr based app from Solr 4 to Solr 6. One of the discrepancies I am noticing is around edismax query parsing. My code makes the following call:
userQuery="+(title:shirts isbn:shirts) +(id:20446 id:82876)" Query query=QParser.getParser(userQuery, "edismax", req).getQuery(); With Solr 4, query becomes: +(+(title:shirt isbn:shirts) +(id:20446 id:82876)) With Solr 6 it however becomes: +(+(+title:shirt +isbn:shirts) +(+id:20446 +id:82876)) Digging deeper, it appears that parseOriginalQuery() in ExtendedDismaxQParser is adding those additional + signs. Is there a way to prevent this altering of queries? Thanks, Max.