Search keyword not working properly

  • hsurekar
    Participant
    # 1 month, 2 weeks ago

    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
    # 1 month, 2 weeks ago

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

    hsurekar
    Participant
    # 1 month, 2 weeks ago

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

    wpsolr
    Keymaster
    # 1 month, 2 weeks ago

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

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

     

    hsurekar
    Participant
    # 1 month, 2 weeks ago

    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
    # 1 month, 2 weeks ago

    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
    # 1 month, 2 weeks ago

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

    wpsolr
    Keymaster
    # 1 month, 2 weeks ago

    My advise was to activate none.

    hsurekar
    Participant
    # 1 month, 2 weeks ago

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

    wpsolr
    Keymaster
    # 1 month, 2 weeks ago

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

    hsurekar
    Participant
    # 1 month, 2 weeks ago

    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
    # 1 month, 2 weeks ago

    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
    # 1 month, 2 weeks ago

    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
    # 3 weeks, 2 days ago

    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 30 total)

You must be logged in to reply to this topic.