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 Raju444us <gu...@gmail.com> on 2009/05/06 22:06:04 UTC
Re: solrcofig.xml - need some info
Hi Hoss,
If i extend SolrQueryParser and override method getFieldQuery for some
customization.Can I configure my new queryParser somthing like below
<requestHandler name="standard" class="solr.MynewParser" default="true">
<!-- default values for query parameters -->
<lst name="defaults">
<str name="echoParams">explicit</str>
<!--
<int name="rows">10</int>
<str name="fl">*</str>
<str name="version">2.1</str>
-->
</lst>
</requestHandler>
Do I need to place my new Parser class in solr/home/lib folder?
Is this the right way to do this.
Thanks,
Raju
hossman wrote:
>
> : I am pretty new to solr. I was wondering what is this "mm" attribute in
> : requestHandler in solrconfig.xml and how it works. Tried to search wiki
> : could not find it
>
> Hmmm... yeah wiki search does mid-word matching doesn't it?
>
> the key thng to realize is that the requestHandler you were looking at
> when you saw that option was the DisMaxRequestHandler...
>
> http://wiki.apache.org/solr/DisMaxRequestHandler
>
>
>
> -Hoss
>
>
>
--
View this message in context: http://www.nabble.com/solrcofig.xml---need-some-info-tp15341858p23414447.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: solrcofig.xml - need some info
Posted by Raju444us <gu...@gmail.com>.
This is resolved.I solved this by reading solrPlugins on the solr wiki.
Thanks,
Raju
Raju444us wrote:
>
> Hi Hoss,
>
> If i extend SolrQueryParser and override method getFieldQuery for some
> customization.Can I configure my new queryParser somthing like below
>
> <requestHandler name="standard" class="solr.MynewParser" default="true">
> <!-- default values for query parameters -->
> <lst name="defaults">
> <str name="echoParams">explicit</str>
> <!--
> <int name="rows">10</int>
> <str name="fl">*</str>
> <str name="version">2.1</str>
> -->
> </lst>
> </requestHandler>
>
> Do I need to place my new Parser class in solr/home/lib folder?
> Is this the right way to do this.
>
> Thanks,
> Raju
>
>
>
>
> hossman wrote:
>>
>> : I am pretty new to solr. I was wondering what is this "mm" attribute in
>> : requestHandler in solrconfig.xml and how it works. Tried to search wiki
>> : could not find it
>>
>> Hmmm... yeah wiki search does mid-word matching doesn't it?
>>
>> the key thng to realize is that the requestHandler you were looking at
>> when you saw that option was the DisMaxRequestHandler...
>>
>> http://wiki.apache.org/solr/DisMaxRequestHandler
>>
>>
>>
>> -Hoss
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/solrcofig.xml---need-some-info-tp15341858p23433477.html
Sent from the Solr - User mailing list archive at Nabble.com.