WPSolr logo
Search
Close this search box.

Forum Replies Created

  • vishnusv
    Participant
    3 years, 11 months ago in reply to: Using boost functions #20012

    I am trying to assign the score so that most recent records based on our date field get a higher score and will appear on top when sorted by score. we don’t need a second sort.

    We are on self hosted Solr. Looks like the extension is for Elasticsearch only.

    vishnusv
    Participant

    Looks like the issue is with passwords having # character. I reset my password to remove the # char and it is working now.

    Try adding a # to Your password
    curl –user solr:SolrRocks https://localhost:8983/solr/admin/authentication -H ‘Content-type:application/json’ -d ‘{“set-user”: {“solr” : “SolrRocks@123#”}}’

    vishnusv
    Participant

    Yes, when basic auth is disabled or “blockUnknown” set to false in security.json, it works fine. Besides, if I gave bad credentials, it clearly shows error message saying “Bad Credentials”. So I think there is no issue reaching Solr. btw, we are on Solr 8.4.1.

    vishnusv
    Participant

    Error message given in WordPress admin is just “cURL error 7:”. Is there any log file where I can get detailed error messages ?

    I have created security.json file and uses solr.BasicAuthPlugin and solr.RuleBasedAuthorizationPlugin. Solr runs on http (not https). I can login into solr admin using the credentials configured in security.json

Viewing 4 posts - 1 through 4 (of 4 total)