Thanks. I added a copy field and that fixed the issue.
On Wed, Apr 3, 2013 at 12:29 PM, Gora Mohanty-3 [via Lucene] < ml-node+s472066n4053412...@n3.nabble.com> wrote: > On 3 April 2013 10:52, amit <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4053412&i=0>> > wrote: > > > > Below is my query > > http://localhost:8983/solr/select/?q=subject:session management in > > php&fq=category:[*%20TO%20*]&fl=category,score,subject > [...] > > Add debugQuery=on to your Solr URL, and you will get an > explanation of the score. Your subject field is tokenised, so > that there is no a priori reason that an exact match should > score higher. Several strategies are available if you want that > behaviour. Try searching Google, e.g., for "solr exact match > higher score". > > Regards, > Gora > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/solre-scores-remains-same-for-exact-match-and-nearly-exact-match-tp4053406p4053412.html > To unsubscribe from solre scores remains same for exact match and nearly > exact match, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4053406&code=YW1pdC5tYWxsaWtAZ21haWwuY29tfDQwNTM0MDZ8LTk5Njc5OTA3NA==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/solre-scores-remains-same-for-exact-match-and-nearly-exact-match-tp4053406p4053478.html Sent from the Solr - User mailing list archive at Nabble.com.