Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6225635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:52:43+00:00 2026-05-24T08:52:43+00:00

I am implementing Solr dismax search and also using this function recip(ms(NOW,PubDate),3.16e-11,1000,1000) for date

  • 0

I am implementing Solr dismax search and also using this function recip(ms(NOW,PubDate),3.16e-11,1000,1000) for date boost. Everthing is working fine but only got one problem.

if search keywords are repeated in the Title, they get more score than recent results.

e.g.
1) Title = solr lucene

Date = 1 day old

2) Title = solr lucene is best, love solr lucene

Date = 15 days old

If user searched for ‘solr lucene’, then #2 comes at first position only because keywords are repeated in the Title.

I have got too many records which are1,2 or 3 days old and they have even the exact same title “SOLR LUCENE” but those records doesn’t come on first page only because old records have keywords repeated in the Title.

I don’t want to sort the results entirely by date. Currently i am sorting it like this. sort= score desc, date asc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:52:43+00:00Added an answer on May 24, 2026 at 8:52 am

    You shouldn’t use an order clause, if you are using boost.
    If you like to give the date more relevance, so pimp your boost function. It’s up to you, who big is the date influence for the order of the search result is.

    It also depends on the dismax-handler you are using:

    {!edismax boost=recip(pow(ms(NOW,PubDate),<val>),3.16e-11,1,1)}
    

    Put an value instead of the <val> placeholder between 0 and 2, where 0 is nearly “order by date” and 2 is order by relevance.

    Not sure, if this works for dismax, but it works for standard solr search handler (with other syntax than the example above) and edismax.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

implementing publishActivity in PHP using the REST API using this code: $activity = array(
I am implementing Solr for a free text search for a project where the
I am implementing search feature with Django + haystack + Solr. Initially i had
I'm using JSP in implementing auto-complete using Solr, I'm using the following code in
When implementing a needle search of a haystack in an object-oriented way, you essentially
While implementing a design using nested generic collections, I stumbled across those limitations apparently
I'm implementing full text search functionality on my rap website , and I'm running
I'm tasked with choosing the fulltext search engine we're going to be using on
I am implementing a solution in Solr where I have a lot of values
Implementing the basic algorithm using last array as a pivot in Java, is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.