• Resolved wpunite

    (@wpunite)


    Hi, I’m trying to find a way to make ElasticPress work exactly like wordpress search, but I’ve had no luck with custom functions.

    I want users to search for: “exact match” keyword1 keyword2 -keyword3

    With wordpress search I can search for exact phrase matches (in double quotes) containing keywords and not containing words both on the front end and backend. And it will only show results that contain all of the parameters. ElasticSearch treats them all as OR.

    Is there a simple way I’m missing that will make ElasticPress work like WordPress search out of the box? I’ve tried using the Labs plugin and boolean operators, but still doesn’t work as well as WordPress search. I’ve hired programmers and we’ve all had no luck trying to duplicate wordpress search.

    • This topic was modified 1 year, 8 months ago by wpunite.
    • This topic was modified 1 year, 8 months ago by wpunite.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wpunite

    (@wpunite)

    Was finally able to get this working with my programmer.

    Hi WPUnite,

    May we know how you/your programmer have solved the issue?

    It will be helpful. We are also integrating Elastic search, Ajax & Boolean. We did something great Today!. Will update you our work as well if you are interested!

    Thank you.

    • This reply was modified 1 year, 2 months ago by Jack Climax.
    Thread Starter wpunite

    (@wpunite)

    We had to write our own custom queries and functions. It was more work than we expected for sure. Would definitely be interested in a simpler solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Like WordPress operators’ is closed to new replies.