There is a defType parameter and dismax is one such type. But unfortunately, dismax does a lot of things and it's not structured to be extended so that this can be modified. Presently you have to write your own QueryParser Plugin which is not something easily done. SOLR-758 is my attempt to fix that.
~ David On 9/11/08 10:41 AM, "Walter Underwood" <[EMAIL PROTECTED]> wrote: > Perhaps we need a syntax option on DisMax. At Netflix, we've modified it > to be pure text, with no operators. My current favorite unsearchable > name is this band: > > (+/-) > > wunder > > On 9/11/08 7:32 AM, "Smiley, David W. (DSMILEY)" <[EMAIL PROTECTED]> wrote: > >> I have also wanted to use the very cool DisMax query handler but was >> dismayed that it prevented me from using Solr/Lucene's full syntax >> capability. So I took matters into my own hands and modified the source. I >> have patches available: >> >> https://issues.apache.org/jira/browse/SOLR-756 757 and 758 >> >> ~ David >> >> On 9/11/08 10:28 AM, "Vaijanath N. Rao" <[EMAIL PROTECTED]> wrote: >> >>> Hi Solr-Users, >>> >>> I am using DisMaxHandler in my application and I am facing one issue. >>> The DisMaxHandler works fine for general queries but returns no result >>> if I do fielded search. >>> For example >>> for query >>> a) q=xyz&qt=dismax returns me the required results >>> but if I do >>> b) q=field1:xyz+xyz&qt=dismax it returns me zero result. >>> >>> Is there anyway I get results for the query type b but still use the >>> DisMaxHandler. >>> >>> --Thanks and Regards >>> Vaijanath > >