Skip to main content
18-Opal
January 20, 2017
Solved

Windchill/PDMLink 10.1 Search Keyword operator (AND, OR) syntax

  • January 20, 2017
  • 2 replies
  • 3494 views

I know that the AND operator can just be used with caps and spaces (e.g. Electronics AND circuit), however the same syntax for OR is not working.  How do you search something like this:

Electronics AND circuit OR board

I know WC 11 can probably do this much easier, but I am asking for 10.1 because that is what we are on now and will be for a while.

Best answer by BineshKumar1

This works for me - (rehosting AND pdmqa) OR pdm , returns all the files which has rehosting and pdmqa or the ones with pdm in it.. This works too - (rehosting && pdmqa) || pdm

Just to verify is the user search preference set to advanced

2 replies

1-Visitor
January 20, 2017

This works for me - (rehosting AND pdmqa) OR pdm , returns all the files which has rehosting and pdmqa or the ones with pdm in it.. This works too - (rehosting && pdmqa) || pdm

Just to verify is the user search preference set to advanced

LawrenceS18-OpalAuthor
18-Opal
January 20, 2017

Binesh Kumar‌,

I just tried both of those methods and the first one using AND/OR gets less results with the OR part, and the second one using && and || returns a search syntax error.

I'll check on the advanced search option...

LawrenceS18-OpalAuthor
18-Opal
January 20, 2017

You are right, it was set to a simple search.  I also didn't realize that that setting, by default, is allowed to be change by the user.  So I set it and did one of the same searches again, using your syntax, and returned equal to or more results than without the OR.  The following example contains the syntax that I used with Advanced Search Preference on:

(rehosting OR pdmqa) AND (pdm OR Link)

Thank you for your help Binesh Kumar!

21-Topaz I
January 20, 2017

From the help files.

If you type in electronics;board (no spaces) it will return nothing.  Putting a space after the semicolon does have results.

LawrenceS18-OpalAuthor
18-Opal
January 20, 2017

Steve Galayda‌,

I get less results when I use the semicolon (without a space I get none, and with a space I get some but less).  So this tells me that the semicolon method is not working.