Hi Gert,

&qt=dismax in URL works with Solr 1.3 and 1.4 without further
configuration. You are right, you should find a "dismax" query parser
in solrconfig.xml by default.

Erwin

On Wed, Sep 9, 2009 at 7:49 AM, Villemos, Gert<gert.ville...@logica.com> wrote:
> On question to this;
>
> Do you need to explicitly configure a 'dismax' queryparser in the
> solrconfig.xml to enable this, or is a queryparser named 'dismax'
> available per default?
>
> Cheers,
> Gert.
>
>
>
>
> -----Original Message-----
> From: Chris Hostetter [mailto:hossman_luc...@fucit.org]
> Sent: Wednesday, September 02, 2009 2:44 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Why dismax isn't the default with 1.4 and why it doesn't
> support fuzzy search ?
>
> : The wiki says "As of Solr 1.3, the DisMaxRequestHandler is simply the
> : standard request handler with the default query parser set to the
> : DisMax Query Parser (defType=dismax).". I just made a checkout of svn
> : and dismax doesn't seems to be the default as :
>
> that paragraph doesn't say that dismax is the "default handler" ... it
> says that using qt=dismax is the same as using qt=standard with the "
> query parser" set to be the DisMaxQueryParser (using defType=dismax)
>
>
> so doing this replacement on any URL...
>
>    qt=dismax   =>  qt=standard&defTYpe=dismax
>
> ...should produce identical results.
>
> : Secondly, I've patched solr with
> : http://issues.apache.org/jira/browse/SOLR-629 as I would like to have
> : fuzzy with dismax. I built it with "ant example". Now, behavior is
> : still the same, no fuzzy search with dismax (using the qt=dismax
> : parameter in GET URL).
>
> questions/discussion of uncommitted patches is best done in the Jira
> issue
> wherey ou found the patch ... that way it helps other people evaluate
> the
> patch, and the author of the patch is more likelye to see your feedback.
>
>
> -Hoss
>
>
>
> Please help Logica to respect the environment by not printing this email  / 
> Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
> imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen 
> Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a 
> respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended 
> recipient(s) only. It may contain proprietary material, confidential 
> information and/or be subject to legal privilege. It should not be copied, 
> disclosed to, retained or used by, any other party. If you are not an 
> intended recipient then please promptly delete this e-mail and any attachment 
> and all copies and inform the sender. Thank you.
>
>
>

Reply via email to