I don't understand what do you mean by "a translated form". The only special symbols that dismax query parser can understand is "+-, eg phrase, mandatory and prohibitory semantic, something like: "term1 term2" +term3 -term4. Dismax parser will take the other operators as query string.
I guess when you switch to use edismax, you'll get some result. 2011/9/30 Jason Toy <jason...@gmail.com>: > Can dismax understand that query in a translated form? > > > 在 Sep 29, 2011 10:01 PM 時,yingshou guo <guoyings...@gmail.com> 寫到: > >> you cann't use this kind of query syntax against dismax query parser. >> your query can by understood by standard query parser or edismax query >> parser. "qt" request parameter is used by solr to select the request >> handler plugin, not query parser. >> >> keep in mind that different query parser can understand different query >> syntax. >> >> On Fri, Sep 30, 2011 at 8:00 AM, abhayd <ajdabhol...@hotmail.com> wrote: >>> hi >>> i m using solr from trunk 4.0 >>> Also dismax is set as default qt with >>> <str name="qf"> >>> text^2.5 features^1.1 displayName^15.0 mfg^4.0 description^3.0 >>> </str> >>> >>> myquery is >>> ============= >>> q=+"ab sx"+OR+(mfg:abc+OR+sx)+OR+(displayName:abc+OR+sx)&qt=dismax >>> >>> It is not working as per my expectation . >>> >>> Any way to implement this with dismax or any other options? qt=standard >>> might work but i want different score when hit is on different fields >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/dismax-with-AND-OR-combination-tp3380883p3380883.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >>> >