Hi Amith, I tried with the options you gave and gave debug=true at the end of the URL. I am getting output as <lst name="debug"> <str name="rawquerystring">channel</str> <str name="querystring">channel</str> <str name="parsedquery">text:channel</str> <str name="parsedquery_toString">text:channel</str> - <lst name="explain"> <str name="http://hotmail">1.2682627 = (MATCH) fieldWeight(text:channel in 3), product of: 2.828427 = tf(termFreq(text:channel)=8) 2.049822 = idf(docFreq=6, numDocs=20) 0.21875 = fieldNorm(field=text, doc=3)</str> <str name="http://share">1.0026497 = (MATCH) fieldWeight(text:channel in 19), product of: 2.236068 = tf(termFreq(text:channel)=5) 2.049822 = idf(docFreq=6, numDocs=20) 0.21875 = fieldNorm(field=text, doc=19)</str> <str name="http://metacreek">0.6341314 = (MATCH) fieldWeight(text:channel in 10), product of: 1.4142135 = tf(termFreq(text:channel)=2) 2.049822 = idf(docFreq=6, numDocs=20) 0.21875 = fieldNorm(field=text, doc=10)</str> <str name="http://yahoo">0.5124555 = (MATCH) fieldWeight(text:channel in 0), product of: 1.0 = tf(termFreq(text:channel)=1) 2.049822 = idf(docFreq=6, numDocs=20) 0.25 = fieldNorm(field=text, doc=0)</str> <str name="http://sharemarket">0.4483986 = (MATCH) fieldWeight(text:channel in 1), product of: 1.0 = tf(termFreq(text:channel)=1) 2.049822 = idf(docFreq=6, numDocs=20) 0.21875 = fieldNorm(field=text, doc=1)</str> <str name="http://Altavista">0.4483986 = (MATCH) fieldWeight(text:channel in 5), product of: 1.0 = tf(termFreq(text:channel)=1) 2.049822 = idf(docFreq=6, numDocs=20) 0.21875 = fieldNorm(field=text, doc=5)</str> </lst>
What does the numeric terms denotes?.With this numeric value will i be able to i set preference for my search links?.If so how?. Regards Bhaskar - On Thu, 10/1/09, bhaskar chandrasekar <bas_s...@yahoo.co.in> wrote: From: bhaskar chandrasekar <bas_s...@yahoo.co.in> Subject: Re: Ranking of search results To: solr-user@lucene.apache.org Date: Thursday, October 1, 2009, 7:34 PM --- On Wed, 9/23/09, Amit Nithian <anith...@gmail.com> wrote: Hi Amith, Thanks for your reply.How do i set preference for the links , which should appear first,second in the search results. Which configuration file in Solr needs to be modified to achieve the same?. Regards Bhaskar From: Amit Nithian <anith...@gmail.com> Subject: Re: Ranking of search results To: solr-user@lucene.apache.org Date: Wednesday, September 23, 2009, 11:33 AM It depends on several things:1) The query handler that you are using 2) The fields that you are searching on and default fields specified For the default handler, it will issue a query for the default field and return results accordingly. To see what is going on pass the &debugQuery=true to the end of the URL to see detailed output. If you are using the DisMaxHandler (DisJoint Max) then you will have a qf, pf and bf (query fields, phrase fields, boosting function). I would start looking at http://wiki.apache.org/solr/DisMaxRequestHandler <http://wiki.apache.org/solr/DisMaxRequestHandler>- Amit On Wed, Sep 23, 2009 at 10:25 AM, bhaskar chandrasekar <bas_s...@yahoo.co.in > wrote: > Hi, > > When i give a input string for search in Solr , it displays me the > corresponding results for the given input string. > > How the results are ranked and displayed.On what basis the search results > are displayed. > Is there any algorithm followed for displaying the results with first > result and so on. > > > Regards > Bhaskar > > > >