Exact matches vs any word matches

Tagged:
  • pgilpat
    Participant
    2 years, 6 months ago #27859

    How do we control the search between the two results?
    Website Search page

    • This topic was modified 2 years, 6 months ago by wpsolr.
    wpsolr
    Keymaster
    2 years, 6 months ago #27860

    This option does not exist in WPSOLR.

    pgilpat
    Participant
    2 years, 6 months ago #27861

    So, it is only exact match?

    wpsolr
    Keymaster
    2 years, 6 months ago #27862

    Try several words. You’ll notice that the search returns results for multiple words, even with plural/singular forms.

    pgilpat
    Participant
    2 years, 6 months ago #27863

    We don’t want that, we need exact match capability. That is a normal search result

    wpsolr
    Keymaster
    2 years, 6 months ago #27864

    The plugin does not provide that option.

    pgilpat
    Participant
    2 years, 6 months ago #27865

    I’m stunned. I can’t imagine that it is not capable. Why would you not have the ability to search in that manner? A user should be able to search and find what they are looking for without getting a bunch of irrelevant results.

    wpsolr
    Keymaster
    2 years, 6 months ago #27866

    Why do you say it is irrelevant?

    The results I can see look fine.

    pgilpat
    Participant
    2 years, 6 months ago #27867

    Ok, I’ll give you an example:
    search result snapshot
    For example, in this example I searched for certitudes of religion
    It returned three results. Only the first one (exact match) is relevant. the other two are irrelevant or a waste of time for the user to visit if they are only looking for that phrase.

    wpsolr
    Keymaster
    2 years, 6 months ago #27868

    The first results contains the exact phrase.
    All three results contain each word.

    I understand you’d like an exact search only, but WPSOLR does not provide this feature.

    pgilpat
    Participant
    2 years, 6 months ago #27869

    What is the potential to add that feature? It is paramount to the success of our project. We have been converting our large site to WordPress from ColdFusion. The existing ColdFusion site, which also uses Solr reacts like this:
    Use the text certitudes of religion
    and see the difference between exact match and any words.
    Example

    wpsolr
    Keymaster
    2 years, 6 months ago #27870

    I can give you a hint to apply exact search, but you’ll have to code.

    pgilpat
    Participant
    2 years, 6 months ago #27871

    That would be great, thank you!

    wpsolr
    Keymaster
    2 years, 6 months ago #27872

    I can update WPSOLR to accept double quoted keywords as an exact Solr syntax match.

    So:
    – “my keyword”
    would be an exact match
    – my keyword
    would not

    You would have to to replace your switch by a message to your visitors like “use double quote for an exact match”.

    pgilpat
    Participant
    2 years, 6 months ago #27873

    Thanks, I thought about that and appreciate the option. I’m not sure if my client will go for it. This search has been in existence for many years and I think they migrated from that approach to making exact match the default return because of having to “train” the user to add additional syntax. I’m meeting with a client representative in an hour in preparation for a direct meeting with the main client tomorrow. We are heading to a launch in mid-October.
    Is there another option to make the exact match the default without adding syntax?
    By the way, what time zone are you in? I appreciate the fast responses.

Viewing 15 posts - 1 through 15 (of 43 total)

You must be logged in to reply to this topic.