• Hi there,

    the search everything plugin works very well for me. searching through all the attachments and listing the correct results.

    Nevertheless I would like to perform an AND search. For instance a search like this:
    “Heslach AND Mercedes”. Unfortunately the current search result is OR based. Is there a way to fix this?
    here is the search:
    Homepage with Searchbox

    Another neat thing would be to exclude some terms from the search results like so:
    “Stuttgart -Mercedes”

    Thank you for helping out.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi any word on how to change default to behave like AND instead of OR?

    Thanks a lot!

    Plugin Author Sovrn

    (@sovrn)

    Hi @jtcote and @paliomalakas,

    Unfortunately, this is not currently a feature that we have available for the Search Everything plugin.

    Our Engineering team is currently in the process of building out and updating our suite of plugins in an effort to consolidate our technologies as well as enhance the overall user experience. As such, our most relevant solution may be an upcoming rollout and we will make sure to take your feedback into consideration when updating.

    Please feel free to check back in for any new technological updates at any time and do not hesitate to follow up with any further questions.

    Best,
    Sovrn Support

    Hello, someone else had this request? I also need the AND mode in tag searching ??

    Hi @localjob by changing the se_get_search_terms() function to treat all cases as sentences should do the trick.

    Like that?

    		//$sentence = isset( $this->query_instance->query_vars['sentence'] ) ? $this->query_instance->query_vars['sentence'] : false;
    		$sentence = true;

    Now everything is sentence but it wont search inside tag

    • This reply was modified 7 years, 4 months ago by localjob.

    if ( $sentence ) {
    $search_terms = array( $s );
    } else {

    $search_terms = array( $s );
    }
    }

    return $search_terms;

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Performing an AND Search / excluding search terms’ is closed to new replies.