• Resolved metadataconsulting

    (@metadataconsulting)


    For anyone out there that needs a Profile Builder Search that works on any field and searches multiple terms using I wrote a search to do this. I reduced the search performance from 1.3s to 0.003s and rewrote the entire query to be super optimized. It works to dedup boolean operators as well. So adding multiple ors or ands will be removed and handles quoted searches.

    For example, if search

    “THIS” or OR “THAT” and AND “who or what AND here” and or this

    turns result into single Boolean operators between terms…

    “THIS” OR “THAT” AND “who or what AND here” and this

    http://wordpress.org/extend/plugins/profile-builder/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor barinagabriel

    (@barinagabriel)

    Hello,

    can you please rephrase what you wrote?

    Thank you!

    Gabriel

    Thread Starter metadataconsulting

    (@metadataconsulting)

    I’ll try, I improved the base Profile Builder Search that works on any number of custom fields and searches multiple terms and has following improvements:

    1)rationlizes any number of multiple Boolean operators into a single term
    2) preserves search for an exact word or phrase using double quotes to delineate search for exact word combinations
    3) Speed from 1.3s to .003s

    Lets take the following search examples:

    Fred “Accounting Financial Services”
    MY SEARCH -> Fred OR “Accounting Financial Services”
    EXPLANATION: Added OR to make clear of Boolean operand used

    Fred and or and “Accounting Financial Services”
    MY SEARCH -> Fred AND “Accounting Financial Services”
    EXPLANATION: Reduced Boolean operators to first one

    Fred or and “Accounting and Financial or Services”
    MY SEARCH -> Fred OR “Accounting and Financial or Services”
    EXPLANATION: Reduced Boolean operators to first one, and search phrase is preserved.

    Fred Wilma and Barney or or and or “The Flintstones”
    MY SEARCH -> Fred OR Wilma AND Barney OR “The Flintstones”
    EXPLANATION: Will reduced any number of combination of Boolean operators to first one, and search phrase is preserved.

    Please contact me for the solution

    Plugin Contributor barinagabriel

    (@barinagabriel)

    Hello,

    unfortunately no such feature will be implemented in the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Super Optimized Profile Builder Search for any field’ is closed to new replies.