Additional Capabilities > Windchill PartsLink > Searching for Classified Objects > Classification Explorer Search Scenarios
Classification Explorer Search Scenarios
The following topic describes using the Keyword search field available from the classification explorer:
For information on using the Keyword field available from the Advanced Search page, see Advanced Classification Search.
The following search scenarios reference the “Chipset” node example below:
* 
By default, wildcards are disabled for the Classification Search utility. An administrator can enable wildcards using the com.ptc.windchill.partslink.freeform.wildcard.enabled property. For more information, see Windchill PartsLink Properties.
When enabled, the asterisk (*) and question mark (?) wildcards are accepted:
Use the asterisk (*) wildcard to search for zero or more characters.
Use the question mark (?) wildcard to search for one occurrence of any character.
However, wildcards cannot be used as part of an attribute value. For more information, see Classification Explorer Search Scenarios.
For the following scenarios, we have used part as the classifiable object.
Scenario 1: Searching on the Classification Node Properties
The following are examples of searching against the properties of a classification node. Windchill searches for matches in the Display Name property and any keywords that have been defined in the node properties.
With Wildcards Disabled
Keyword Input
Results
Description
Chip
All parts classified against the Chipset node are returned.
Because the display name for the Chipset node begins with “Chip,” all parts classified against the Chipset node are returned in the search results. Similarly, if you enter Chipset or Chi in the Keyword field, it also returns all parts classified against the Chipset node.
ChipTypeA
All parts classified against the Chipset node are returned.
Because ChipTypeA is specified as a keyword in the node properties, all parts classified against the Chipset node are returned.
Similarly, if you entered ChipTypeB in the Keyword field, it also returns all parts classified against the Chipset node in the search results. ChipTypeB is also a specified node keyword.
ChipRec1
No results.
No search results are returned because ChipRec1 does not match the display name or any of the keywords defined for the node.

With Wildcards Enabled
Keyword Input
Results
Description
Chip
No results.
Chip does not match the display name. You must enter a wildcard.
Chip*
All parts classified against the Chipset node are returned.
With the wildcard entered, Chip* matches the display name for the Chipset node.
Ch*
All parts classified against the Chipset node are returned.
With the wildcard entered, Ch* matches the display name for the Chipset node.
chips?t
All parts classified against the Chipset node are returned.
With the wildcard entered, chips?t matches the display name for the Chipset node.
*TypeA
All parts classified against the Chipset node are returned.
*TypeA matches the keyword ChipsetTypeA that has been specified in the node properties.
*TypeB
All parts classified against the Chipset node are returned.
*TypeB matches the keyword ChipsetTypeB that has been specified in the node properties.
Scenario 2: Searching on Real Number with Unit Attributes
The following are examples of searching for real number and unit attributes. Windchill searches for matches in the node attributes and any real number values associated with unit attributes that are specified.
With Wildcards Disabled
Keyword Input
Results
Description
Chipset Height 10 mm
All parts classified against the Chipset node are returned.
Given that Chipset matches the display name for the node, but Height does not match any of the node attribute names, all parts classified against the Chipset node are returned.
Chipset Weight 10.5 kg
Only Chipset parts with a Weight attribute with a value of 10.5 kg are returned in the search results.
Only parts in the Chipset node that weigh 10.5 kg are returned because:
Chipset matches the display name
Weight matches the attribute name
10.5 matches the numeric value specified for the Weight attribute
kg matches the base unit of the Weight attribute
Chipset Weight 10500 g
Only Chipset parts with a Weight attribute with a value of 10500 g are returned in the search results.
Only parts in the Chipset node that weigh 10500 g are returned because:
Chipset matches the display name
Weight matches the attribute name
10500 matches the numeric value specified for the Weight attribute
g is compatible with the base unit of the Weight attribute
Chipset Weight 1050 g
No results.
Although Chipset matches the display name of the Chipset node, and Weight is a valid attribute name, there are no Chipset parts with a weight of 1050 g. Therefore, no search results are returned.
Chipset Weight 0.0105 tonne
Only Chipset parts with a Weight attribute with a value of 0.0105 tonne are returned in the search results.
Only parts in the Chipset node that weigh 0.0105 tonne are returned because:
Chipset matches the display name
Weight matches the attribute name
0.0105 matches the numeric value specified for the Weight attribute
tonne is compatible with the base unit of the Weight attribute

With Wildcards Enabled
Keyword Input
Results
Description
Chip* Height 10.5 mm
All parts classified against the Chipset node are returned.
Given that Chipset matches the display name of the Chipset node, and Height does not match a specified attribute name for the node, all parts classified against the Chipset node are returned in the search results.
Chipset Weight 10.5 g
Only Chipset parts with a Weight attribute with a value of 10.5 kg are returned in the search results.
Only parts in the Chipset node that weigh 10.5 kg are returned because:
Chipset matches the display name
Weight matches the attribute name
10.5 matches the numeric value specified for the Weight attribute
kg matches the base unit of the Weight attribute
Chips* Weig 10.5 kg
All parts classified against the Chipset node are returned.
Given that Chips* matches the display name of the Chipset node, and Weig is not an exact match with a specified attribute name for the node, all parts classified against the Chipset node are returned in the search results.
Chi?s* Wei* 10.5 kg
Only Chipset parts with a Weight attribute with a value of 10.5 kg are returned in the search results.
Only parts in the Chipset node that weigh 10.5 kg are returned because:
Chi?s* matches the display name
Wei* matches the attribute name
10.5 matches the numeric value specified for the Weight attribute
kg matches the base unit of the Weight attribute
Chi?s Wei* 10500 g
Only Chipset parts with a Weight attribute with a value of 10500 g are returned in the search results.
Only parts in the Chipset node that weigh 10500 g are returned because:
Chi?s matches the display name
Wei* matches the attribute name
10500 matches the numeric value specified for the Weight attribute
g is compatible with the base unit of the Weight attribute
Chi?s* Wei* 1050* g
No results.
Even though Chi?s* matches the display name of the Chipset node, Wei* is a valid attribute name, and g is compatible with the base unit of the Weight attribute, no results are returned. This is because wildcards cannot be used for attribute values. Therefore, 1050* is not a valid numeric value.
Chi?s* Wei* 0.0105 tonne
Only Chipset parts with a Weight attribute with a value of 0.0105 tonne are returned in the search results.
Only parts in the Chipset node that weigh 0.0105 tonne are returned because:
Chi?s* matches the display name
Wei* matches the attribute name
0.0105 matches the numeric value specified for the Weight attribute
tonne is compatible with the base unit of the Weight attribute
Chi?s* Wei* 0.0105 to*
No results.
Even though Chi?s* matches the display name of the Chipset node, Wei* is a valid attribute name, no results are returned. This is because to* does not match or is not compatible with the base unit of the Weight attribute and there are no parts with 0.0105 kg (base unit).
* 
When a unit is not supplied, or is not compatible with the base unit of an attribute, the base unit is considered as the default for the search.
Scenario 3: Searching on String Attributes with Legal Value Set (Allowed Values)
The following are examples of searching for string attributes with legal value sets within a classification node. Windchill searches for matches in the nodes string attributes that have a legal value set or allowed values.
With Wildcards Disabled
Keyword Input
Results
Description
Chipset Rohs Yes
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned in the search results.
Only parts in the Chipset node with a ROHS (S) attribute with a value of Yes are returned because:
Chipset matches the display name
Rohs matches the attribute name
Yes matches one of the values of legal value set for the ROHS (S) attribute
Chipset Yes
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned in the search results.
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned because:
Chipset matches the display name
Yes matches one of the values of legal value set for the ROHS (S) attribute since there is no matching attribute
Chipset Rohs Yes Weight 10500 g
Only Chipset parts with a ROHS (S) attribute with a value of Yes and a Weight attribute with a value of 10500 g are returned in the search results.
Only parts in the Chipset node with a ROHS (S) attribute with a value of Yes and that weigh 10500 g are returned because:
Chipset matches the display name
Rohs matches an attribute name
Yes matches one of the values of legal value set for the ROHS (S)
Weight matches an attribute name
10500 matches the numeric value
g is compatible with the base unit of the Weight attribute

With Wildcards Enabled
Keyword Input
Results
Description
Chipset Yes
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned in the search results.
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned because:
Chipset matches the display name
Yes matches one of the values of legal value set for the ROHS (S) attribute since there is no matching attribute
Chipset Yes*
All parts classified against the Chipset node are returned in the search results.
Given that Chipset matches the display name of the Chipset node, and there is no attribute or value of the legal value set matching Yes*, all parts classified against the Chipset node are returned in the search results.
Chipset Rohs* Yes
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned in the search results.
Only Chipset parts with a ROHS (S) attribute with a value of Yes are returned because:
Chipset matches the display name
Rohs matches the attribute name
Yes matches one of the values of legal value set for the ROHS (S) attribute.
Chip* Rohs Yes We* 10500 g
Only Chipset parts with a ROHS (S) attribute with a value of Yes and a Weight attribute with a value of 10500 g are returned in the search results.
Only Chipset parts that weigh 10500 g with a ROHS (S) attribute with a value of Yes and are returned because:
Chip* matches the display name
Rohs is not an exact match with any attribute names (no wildcard used)
Yes matches one of the values of legal value set for the ROHS (S) attribute
We* matches an attribute name
10500 matches a numeric value specified for the Weight attribute
g is compatible with the base unit of the Weight attribute
Isto foi útil?