Logicktronic Search – Boolean Search Operator Optimization/Reduction

 

Logicktronic Search technology will take any search string and try to make sense out of any combination of Boolean operators (AND/OR) that may appear in a search phrase. Logicktronic Search will rationlize any number of multitple Boolean operators into a single term.

Moreover, Logicktronic Search preserves search for an exact word or phrase using double quotes to delineate search for exact word combinations.

Note, even Google does this incorrectly – see this post.

 

For example, lets take the following search examples;

  1. Fred “Accounting Financial Services”

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

  2. Fred and or and “Accounting Financial Services”

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

  3. Fred or and “Accounting and Financial or Services”

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

  4. Fred Wilma and Barney or or and or “The Flintstones”

    Logicktronic 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 to purchase this code solution. This code base is current in PHP, but since it mainly uses regular expressions can be converted to any language that you  wish (given it has regex capability).

 


//Libraries required for Spiders