Hi,
You need to add
edismax
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
On 31. mai 2011, at 18.08, Vignesh Raj wrote:
> Hi,
>
> I am developing a search engine app using Asp.Net, C# and Solrnet. I use the
> standard request handler. Is there a way I can boost the fields at query
> time from inside the solrconfig.xml file itself. Just like the "qf" field
> for Dismax handler.
> Right now am searching like "field1:value^1.5 field2:value^1.2
> field3:value^0.8" and this is done in the middle tier. I want Solr itself to
> do this using standard request handler. Can I write a similar kind of thing
> inside standard req handler?
>
> Here is my solrconfig file.
>
>
>
>
>
> explicit
>
> true
>
> 3
>
> 25
>
> file_description^100.0 file_content^6.0 file_name^10.0
> file_comments^4.0
>
>
>
>
>
>
>
> spellcheck
>
>
>
>
>
>
>
> But am not able to see the results if I add this in my solrconfig.xml file.
> I have edited the post to add my req handler code in solrconfig. But, if
> have my query string as "file_description:result^1.0 file_content:result^0.6
> file_name:result^0.5 file_comments:result^0.8", am able to see the required
> result.
>
>
>
> Regards
>
> Vignesh
>