🎨
Documentation - Ajax Search Lite
Get the PRO version!Download the Lite version for FreeDevelopment
  • Ajax Search Lite for WordPress documentation
  • Search Shortcode
    • Shortcode as a menu item
  • General Options
    • Sources and Basics
    • Search logic
      • Search logics explained
    • Triggers and redirection to results page
    • Results page live loader
    • Ordering
    • Autocomplete & Keyword Suggestions
  • Image Settings
  • Frontend search filters
  • Layout Options
    • Theme and Customization
    • Results layout and fields shown
    • Results box behavior
    • Keyword highlighter
  • Advanced Options
    • Title and Content fields
    • Advanced Title and Content fields
    • Keyword Exceptions
  • Compatibility Settings
    • Javascript Compatibility
Powered by GitBook
On this page
  • OR
  • OR with exact word matches
  • AND
  • AND with exact word matches

Was this helpful?

  1. General Options
  2. Search logic

Search logics explained

The logic on the same or across the separate fields for each keyword (title, content, excerpt etc..)

OR

Match is found if any of the search keywords is part of the content. It's the least strict of all possible options - it returns many results, finds almost anything.

Keyword

Fields

Match?

hello

Post Title: Hello big world!

Post Content: Robot here!

YES

hello wor

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hello robot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hel bot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

help bot hello

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hello science

Post Title:

Hello big world!

Post Content:

Robot here!

YES

OR with exact word matches

Similar to the simple OR, but at least one keyword must match a whole word. Partial results are not accepted.

Keyword

Fields

Match?

hello

Post Title: Hello big world!

Post Content: Robot here!

YES

hello wor

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hello robot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hel bot

Post Title:

Hello big world!

Post Content:

Robot here!

NO

(whole word don't match)

help bot hello

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hello science

Post Title:

Hello big world!

Post Content:

Robot here!

YES

AND

Every keyword must match at least partially the content.

Keyword

Fields

Match?

hello

Post Title: Hello big world!

Post Content: Robot here!

YES

hello wor

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hello robot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hel bot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

help bot hello

Post Title:

Hello big world!

Post Content:

Robot here!

NO

hello science

Post Title:

Hello big world!

Post Content:

Robot here!

NO

AND with exact word matches

The most strict search logic. Every keyword must match a whole word in the content.

Keyword

Fields

Match?

hello

Post Title: Hello big world!

Post Content: Robot here!

YES

hello wor

Post Title:

Hello big world!

Post Content:

Robot here!

NO

hello robot

Post Title:

Hello big world!

Post Content:

Robot here!

YES

hel bot

Post Title:

Hello big world!

Post Content:

Robot here!

NO

help bot hello

Post Title:

Hello big world!

Post Content:

Robot here!

NO

hello science

Post Title:

Hello big world!

Post Content:

Robot here!

NO

PreviousSearch logicNextTriggers and redirection to results page

Last updated 4 years ago

Was this helpful?