You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2009/09/02 02:44:07 UTC

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


Re: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by Erwin <er...@gmail.com>.
On Wed, Sep 2, 2009 at 12:44 AM, Chris
Hostetter<ho...@fucit.org> wrote:
> : 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=
>
>
> so doing this replacement on any URL...
>
>    qt=dismax   =>  qt=standard&defTYpe=dismax
>
> ...should produce identical results.

Thank you, sorry it wasn't clear for me.

>
> : 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.

You're right.

RE: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by Chris Hostetter <ho...@fucit.org>.
: What I dont understand is whether a requesthandler and a queryparser is 
: the same thing, i.e. The configuration contains a REQUESTHANDLER with 
: the name 'dismax', but does not contain a QUERYPARSER with the name 
: 'dismax'. Where does the 'dismax' queryparser come from? Do I have to 
: configure this extra? Or is it there per default? Or does it come from 
: the 'dismax' requesthandler?

Request handler *instances* only exist if they are declared in your 
solrconfig.xml, two differnet instances might be configured to use the 
same *class* but with differnet configurations.  the details on 
which request handler *instance* is picked to process any request can be 
found here...
http://wiki.apache.org/solr/SolrRequestHandler  (look for "Handler Resolution")

If the *class* of a particular instance is "solr.SearchHandler" 
then that instance will use the "defType" param to decide which 
QParserPlugin to use to parse it's query string...

http://wiki.apache.org/solr/SolrPlugins (look for QParserPlugin)

...in addition to being able to register your own QParserPlugins, there 
are some defaults provided -- just like there are default request writers 
provided.  (hmm.... but there doesnt' seem to be a good list of hte 
QParsers provided by default, hmmm ... that's anoying)

Now to get to the meeat of your question: there is the 
solr.DisMaxRequestHandler -- which is a requestHandler class, and in 
your solrconfig.xml you have given an instance of this class with the name 
"dismax" ....*AND*.... there is the solr.DisMaxQParserPlugin -- which is a 
queryParser class, and by default there is an instance of that with the 
name "dismax"

The solr.DisMaxRequestHandler is just a trivial subclass of 
solr.SearchHandler that does nothing by set "defType=dismax" (ie: refering 
to whichever QParserPlugin instance exists with the name "dismax")

If you consider these examples...


http://localhost:8983/select?qt=dismax&...
http://localhost:8983/select?qt=standard&defType=dismax&...

the first uses the requestHandler named dismax, the second uses the 
request handler named standard, and tells it to the defType named 
dismax.  Those could be *very* different, but with your colrconfig.xml
(and for 99% of the solrconfigurations out there) these two examples 
should function exactly the same.



  You could change your configs to make them mean 




: 
: Gert.
: 
: 
: 
: 
:  
: 
: -----Original Message-----
: From: kaoul.kae@gmail.com [mailto:kaoul.kae@gmail.com] On Behalf Of Erwin
: Sent: Wednesday, September 09, 2009 10:55 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 ?
: 
: 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<ge...@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_lucene@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.
: >
: >
: >
: 
: 
: 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.
: 
: 



-Hoss

Re: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by Lance Norskog <go...@gmail.com>.
A QueryParser is a Lucene class that parses a string into a tree of query
objects.

A request handler in solrconfig.xml describes a Solr RequestHandler object.
This object binds strings into http parameter strings. If a request handler
name is "/abc" then it is called by
http://localhot:8983/solr/abc but if there is no slash, the name "abc" is
available when some other request handler is called. "Available" means that
some other code can search for the name. In "qt=dismax", the code that
searches for &qt knows that dismax is a requesthandler.

(It all made sense when I started typing ...)


On 9/9/09, Villemos, Gert <ge...@logica.com> wrote:
>
> Sorry for being a bit dim, I dont understand this;
>
> Looking at my default configuration for SOLR, I have a request handler
> named 'dismax' and request handler named 'standard' with the default="true".
> I understand that I can configure the usage of this in the query using the
> qt=dismax or qt=standard (... Or no qt as standard is set to default). And
> if I set the 'defType=dismax' flag in the standard requesthandler then I
> will use the dismax queryparser per default. This far, so good.
>
> What I dont understand is whether a requesthandler and a queryparser is the
> same thing, i.e. The configuration contains a REQUESTHANDLER with the name
> 'dismax', but does not contain a QUERYPARSER with the name 'dismax'. Where
> does the 'dismax' queryparser come from? Do I have to configure this extra?
> Or is it there per default? Or does it come from the 'dismax'
> requesthandler?
>
> Gert.
>
>
>
>
>
>
> -----Original Message-----
> From: kaoul.kae@gmail.com [mailto:kaoul.kae@gmail.com] On Behalf Of Erwin
> Sent: Wednesday, September 09, 2009 10:55 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 ?
>
> 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<ge...@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_lucene@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.
> >
> >
> >
>
>
> 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.
>
>
>


-- 
Lance Norskog
goksron@gmail.com

RE: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by "Villemos, Gert" <ge...@logica.com>.
Sorry for being a bit dim, I dont understand this;

Looking at my default configuration for SOLR, I have a request handler named 'dismax' and request handler named 'standard' with the default="true". I understand that I can configure the usage of this in the query using the qt=dismax or qt=standard (... Or no qt as standard is set to default). And if I set the 'defType=dismax' flag in the standard requesthandler then I will use the dismax queryparser per default. This far, so good.

What I dont understand is whether a requesthandler and a queryparser is the same thing, i.e. The configuration contains a REQUESTHANDLER with the name 'dismax', but does not contain a QUERYPARSER with the name 'dismax'. Where does the 'dismax' queryparser come from? Do I have to configure this extra? Or is it there per default? Or does it come from the 'dismax' requesthandler?

Gert.




 

-----Original Message-----
From: kaoul.kae@gmail.com [mailto:kaoul.kae@gmail.com] On Behalf Of Erwin
Sent: Wednesday, September 09, 2009 10:55 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 ?

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<ge...@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_lucene@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.
>
>
>


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.



Re: where can i find solr1.4

Posted by Kaoul <ka...@gmail.com>.
Hi,
Juste checkout trunk of svn. After that, war file is at
./trunk/dist/apache-solr-1.4-dev.war

On Wed, Sep 9, 2009 at 8:56 AM, Venkatesan A.<av...@ceiindia.com> wrote:
> Hi
>
> Where can I find solr1.4.war
>
> Thanks
> Arun
>
> -----Original Message-----
> From: kaoul.kae@gmail.com [mailto:kaoul.kae@gmail.com] On Behalf Of Erwin
> Sent: Wednesday, September 09, 2009 2:25 PM
> 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 ?
>
> 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<ge...@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_lucene@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.
>>
>>
>>
>
>

Re: where can i find solr1.4

Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: where can i find solr1.4
: In-Reply-To: <13...@mail.gmail.com>

http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists

When starting a new discussion on a mailing list, please do not reply to 
an existing message, instead start a fresh email.  Even if you change the 
subject line of your email, other mail headers still track which thread 
you replied to and your question is "hidden" in that thread and gets less 
attention.   It makes following discussions in the mailing list archives 
particularly difficult.
See Also:  http://en.wikipedia.org/wiki/Thread_hijacking


-Hoss


where can i find solr1.4

Posted by "Venkatesan A." <av...@ceiindia.com>.
Hi

Where can I find solr1.4.war

Thanks
Arun

-----Original Message-----
From: kaoul.kae@gmail.com [mailto:kaoul.kae@gmail.com] On Behalf Of Erwin
Sent: Wednesday, September 09, 2009 2:25 PM
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 ?

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<ge...@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_lucene@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.
>
>
>


Re: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by Erwin <er...@gmail.com>.
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<ge...@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_lucene@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.
>
>
>

RE: Why dismax isn't the default with 1.4 and why it doesn't support fuzzy search ?

Posted by "Villemos, Gert" <ge...@logica.com>.
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_lucene@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.