Search keyword not working properly

Tagged:
  • hsurekar
    Participant
    2 years, 5 months ago #29448

    On my site if I search with Stephen D. Judge this string but it’s not providing proper result . below is example.

    https://rilawyersweekly.com/?s=Stephen+D.+Judge
    but if I search same string on solr cluster query it’s returning proper result. So could you please let me know what is wrong here.
    Thanks
    Hemant

    wpsolr
    Keymaster
    2 years, 5 months ago #29449

    Did you activate the fuzzy or partial matching options in WPSOLR screen 2.1?

    hsurekar
    Participant
    2 years, 5 months ago #29450

    Could you please provide me screenshot where can i find that option?
    Thanks
    Hemant

    wpsolr
    Keymaster
    2 years, 5 months ago #29451

    It is a the bottom of page settings 2.1 in WPSOLR.

    Image wpsolr-admin-fuzzy-option-1024x629.png of

     

    hsurekar
    Participant
    2 years, 5 months ago #29457

    Hi There,
    I have enabled that option but still it’s not giving proper result. I want to do exact match search. So how can I do it?
    Thanks
    Hemant

    wpsolr
    Keymaster
    2 years, 5 months ago #29458

    In fact, I wanted to be sure you did not activate these 2 options.
    Exact matching is not possible, but in screen “2.3 Search” you can give more weights to some fields, for instance title over description.

    hsurekar
    Participant
    2 years, 5 months ago #29459

    I am not able to activate both options it’s like either or i can activate.

    wpsolr
    Keymaster
    2 years, 5 months ago #29460

    My advise was to activate none.

    hsurekar
    Participant
    2 years, 5 months ago #29461

    ok i have deactivate both but how can i make it exact search?

    wpsolr
    Keymaster
    2 years, 5 months ago #29462

    Can you copy here the Solr query you use to compare with current WPSOLR results?

    hsurekar
    Participant
    2 years, 5 months ago #29463

    I am trying to this search with “” quote or without double quote. but both results are same
    https://masslawyersweekly.com/?s=%22Stephen+D.+Judge%22&wpsolr_fq%5B%5D=&date_start=&date_end=&wpsolr_fq%5B%5D=&wpsolr_sort=sort_by_date_desc

    wpsolr
    Keymaster
    2 years, 5 months ago #29464

    WPSOLR 22.2 should be able to match exactly with double quotes and Solr.
    But there are difficulties anyway, as explained on https://www.wpsolr.com/forums/topic/exact-matches-vs-any-word-matches/

    wpsolr
    Keymaster
    2 years, 5 months ago #29465

    WPSOLR 22.2 should be able to match exactly with double quotes and Solr.
    But there are difficulties anyway, as explained on https://www.wpsolr.com/forums/topic/exact-matches-vs-any-word-matches/

    hsurekar
    Participant
    2 years, 4 months ago #29631

    Hi Team,
    I have upgraded WPSOLR 22.2 version and it’s working fine.
    But i found another issue with indexing after upgrading version.
    {“nb_results”:0,”status”:400,”message”:”Solr HTTP error: Bad Request (400)\n{\n "responseHeader":{\n "status":400,\n "QTime":0},\n "error":{\n "metadata":[\n "error-class","org.apache.solr.common.SolrException",\n "root-error-class","java.lang.NumberFormatException"],\n "msg":"ERROR: [doc=16733] Error adding field ‘displaymodified_dt_i’=’978570000000’ msg=For input string: \\"978570000000\\"",\n "code":400}}\n”,”indexing_complete”:false}

    it is working if i downgrade plugin’s version. So could you please let me know how can i fix this indexing issue.

    Thanks

    wpsolr
    Keymaster
Viewing 15 posts - 1 through 15 (of 114 total)

You must be logged in to reply to this topic.