Skip to main content
Published: May 23 2013, 4:10:00 AMUpdated: September 06 2022, 9:21:43 PM

How do I use logical operators while using keyword search with findItemsAdvanced?

AND logic
Use space between words to apply AND logic.
Example: digital camera. This keyword will search for items having the word digital and camera somewhere in the title.
      
OR logic
Use Comma between words in parentheses to apply OR logic
Example: camera (digital, SLR). This keyword will search for items having the word camera and either of the words digital or SLR.

NOT logic
Use minus sign before a word to apply NOT logic
Example: camera (digital, SLR) -broken -damaged. This keyword will search for items having words camera AND (digital OR SLR), but should not have the words broken and damaged.

In addition, to match an exact sequence of words, use comma  between words without parentheses or spaces. Example: digital,camera



 

 

How well did this answer your question?

Got thoughts? Click the feedback button – your insights help us improve!