Structure Discovery Admin
Structure Discovery Admin
Administration of
Smart Discovery for
Structures
Teamcenter 14.3
Unpublished work. © 2023 Siemens
This Documentation contains trade secrets or otherwise confidential information owned by Siemens Industry Software Inc. or
its affiliates (collectively, “Siemens”), or its licensors. Access to and use of this Documentation is strictly limited as set forth in
Customer’s applicable agreement(s) with Siemens. This Documentation may not be copied, distributed, or otherwise disclosed
by Customer without the express written permission of Siemens, and may not be used in any way not expressly authorized by
Siemens.
This Documentation is for information and instruction purposes. Siemens reserves the right to make changes in specifications
and other information contained in this Documentation without prior notice, and the reader should, in all cases, consult
Siemens to determine whether any changes have been made.
No representation or other affirmation of fact contained in this Documentation shall be deemed to be a warranty or give rise to
any liability of Siemens whatsoever.
If you have a signed license agreement with Siemens for the product with which this Documentation will be used, your use of
this Documentation is subject to the scope of license and the software protection and security provisions of that agreement.
If you do not have such a signed license agreement, your use is subject to the Siemens Universal Customer Agreement, which
may be viewed at https://www.sw.siemens.com/en-US/sw-terms/base/uca/, as supplemented by the product specific terms
which may be viewed at https://www.sw.siemens.com/en-US/sw-terms/supplements/.
SIEMENS MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS DOCUMENTATION INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF
INTELLECTUAL PROPERTY. SIEMENS SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL OR
PUNITIVE DAMAGES, LOST DATA OR PROFITS, EVEN IF SUCH DAMAGES WERE FORESEEABLE, ARISING OUT OF OR RELATED
TO THIS DOCUMENTATION OR THE INFORMATION CONTAINED IN IT, EVEN IF SIEMENS HAS BEEN ADVISED OF THE POSSIBILITY
OF SUCH DAMAGES.
TRADEMARKS: The trademarks, logos, and service marks (collectively, "Marks") used herein are the property of Siemens or other
parties. No one is permitted to use these Marks without the prior written consent of Siemens or the owner of the Marks,
as applicable. The use herein of third party Marks is not an attempt to indicate Siemens as a source of a product, but is
intended to indicate a product from, or associated with, a particular third party. A list of Siemens’ Marks may be viewed at:
www.plm.automation.siemens.com/global/en/legal/trademarks.html. The registered trademark Linux® is used pursuant to a
sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
Example:
To fix a design issue, an engineer wants to work with the engine assembly of a car. When the
car structure is indexed, the engineer can search within the structure to find the engine assembly
without the need to expand the entire structure. The engineer can further filter the search result
to locate all elements that are at a proximity of 10 mm from the engine block.
Users can save an indexed structure within a session, which retains the filters and configurations applied
on it. You can configure a session as per your site requirements. For example, you can choose to load a
session with static data instead of the latest data or you can restrict users from overwriting a session.
A session can be opened in different applications such as NX, CATIA, and Lifecycle Visualization when
these are integrated with Teamcenter.Additionally, the integration with Product Configurator allows
users to configure a structure on which variability is set by using Product Configurator variants in case
they do not wish to use the classic variants for configuring the structure. Ensure that you have set up
these applications.
• A global search index used for keyword and attribute search of item revisions.
• A structure index used for finding elements within a structure. Structure indexing can be performed
either by using the existing Active Content Structure Indexing or Cacheless Search functionalities or by
using the new Smart Discovery Indexing functionality.
Note:
The Smart Discovery Indexing functionality provides advanced filtering and configuration
capabilities such as filter by proximity, filter by volume, configure by proximity, and configure
by selection. To use these advanced capabilities, index the structures by using Smart Discovery
Indexing. However, it does not support Massive Model Visualization (MMV). For MMV, you
must continue to index structures by using the existing Active Content Structure Indexing
functionality.
The Teamcenter database may contain a mix of structures indexed using cacheless search and
Smart Discovery Indexing. However, each structure can have only one type of index, cacheless
or smart discovery.
For structures indexed using the Smart Discovery Indexing functionality, the indexes are stored in the
global search index and the Smart Discovery index. The global search index is maintained in the Solr
search engine, while the Smart Discovery index is maintained in both Solr as well as in the Teamcenter
relational database.
Both the indexes are used for searching and filtering in the context of a structure.
4. In the Old Configuration panel, select the corporate server configuration and click Next.
5. If Indexing Engine and Indexer are not installed in your Teamcenter setup:
a. In the Feature Maintenance panel, select Add/Remove Features and click Next.
b. In the Features panel, select the following features and click Next.
c. Enter the required values in the subsequent panels for Indexing Engine and Indexer and click
Next.
In the Feature Maintenance panel, select Update Active Workspace Indexer settings under
Active Workspace Indexer and click Next.
7. In the Active Workspace Indexer Type Selection panel, select the following and click Next:
After the installation is complete, you can index structures for a faster search and for advanced
structure filtering and configuration capabilities.
2. In the Applications task, select Teamcenter→Active Workspace→Active Content from the list of
available applications.
3. In the Components task, fill in the required information so that the state of all components
is 100%. For details on filling up information related to Indexing Engine, Indexer,and file
content indexing, see Install Indexing Engine (Solr), Install Indexer (TcFTSIndexer), and Install
asynchronous file content indexing.
4. In the Deploy task, generate the deployment scripts and proceed with the deployment based on
the instructions displayed on the screen.
• Occurrence notes
2. Open an existing BMIDE template project or create a new one, for example,
a5occurrenceproperties.
Ensure that aws2 and activeworkspacebom are selected as the dependent templates.
a. Click Extensions > Options > List of Note Types to view the list of available occurrence
notes.
b. Locate the BOMLine business object, and verify that the occurrence note that you want to
index is listed as one of the properties of BOMLine. You will later map these properties with
the Awb0DesignElement business object.
Go to the Properties tab of PSOccurrence, and verify that the property you want to index is
available here. If is not there, you can add a new Persistent or Compound property.
Note:
You cannot set a property of the type Array for indexing if the Teamcenter version is 13.2
or lower.
b. In the Properties tab of the newly created child business object, create Persistent
properties of the type String, Integer, Double, or Boolean.
b. The following steps show how to map a BOMLine property with Awb0DesignElement. You
may follow the same steps to map a property with other subclass of Awb0Element.
A. In the Properties tab of BOMLine, select the property, and click Map Property.
D. Open Awb0DesignElement and in the Property Constants tab, set the following
values:
- OR -
Manually add the configured runtime properties of BOMLine for the following as runtime
properties of Awb0DesignElement:
• Occurrence note
• PSOccurrence property
Select each property in Awb0DesignElement, go to its Property Constants tab, and set the
following values:
5. To index Typed Reference properties of the PSOccurrence business object, select each property in
Awb0DesignElement, go to its Property Constants tab, and set the following values:
You can only include the first-level persistent properties of PSOccurrence that are directly located
under Typed Reference. If a property is flagged for localization, the Filter panel on Active
Workspace will display the data of the master locale even if the user is logged on using a different
locale.
8. Navigate to the folder on your computer where you have installed Teamcenter, and launch TEM.
10. Click Browse and navigate to the location of the Target folder that you had noted down earlier.
11. Select the custom template under Extensions, for example, a5occurrenceproperties.
Additionally, select Extensions > Occurrence Attribute Object in the Features panel.
12. Clicking Next until you reach the Confirmation panel and then click Start.
14. (Optional) Import the properties that you set up for indexing as columns, and merge the columns
with an existing column configuration.
This step can take time depending on the size of the database.
18. Search for a structure that is indexed and click Filter . Verify if the newly added runtime property
is displayed on the Filter panel.
At this point, you can choose to set the item revision properties for indexing, if not already set, after
which you can close BMIDE.
Ensure that aws2 and activeworkspacebom are selected as the dependent templates.
b. In the Properties tab, select a property (for example, object_name) and set the value of the:
5. Navigate to the folder on your computer where you have installed Teamcenter, and launch TEM.
7. Click Browse and navigate to the location of the Target folder that you had noted down earlier.
9. Clicking Next until you reach the Confirmation panel and then click Start.
12. Verify if the indexed properties appear as filters in the Filter panel of global search on Active
Workspace. Additionally, open an indexed structure, and verify if the properties are listed in the
Filter panel of-the context search. If the properties are not listed, follow the troubleshooting
steps to fix the issue.
At this point, you can choose to set the occurrence properties for indexing, if not already set, after
which you can close BMIDE.
Initialize the global search index only if it is not already deployed at your site. To set it up, see Indexing
Data and Configuring Search.
Note:
Smart Discovery only supports SolrCloud configuration with a single shard and one or more
replicas.
If you set up any new item revision properties for indexing after initializing the global search index, you
must set up the global search index again and run the indexer.
A bounding box is a box around the geometry of a part (item revision). When a user performs a
proximity search by selecting the part, Teamcenter limits the search result by identifying bounding
boxes of other parts that are within or ones that intersect the bounding box of the selected part.
To make the search result more accurate (relative to the geometric shape of the part), TSO files are
required. A TSO file contains the voxel representation of each part that has geometry. With TSO files,
Teamcenter simplifies the geometry of the intersecting parts into small cubes that provide a simplified
representation of the actual shapes.
If cacheless search is deployed at your site, the process of generating bounding boxes and TSO files
is already set up. If cacheless search is not deployed, you must set up the process of generating
bounding boxes and TSO files.
Process flow to generate Teamcenter bounding boxes and TruShape files for NX datasets
Process flow to generate Teamcenter bounding boxes and TruShape files for JT datasets
Before generating bounding boxes and TruShape (TSO) files for the structures in the Teamcenter
database, you must set the value of the following preferences to True:
QS_SPATIAL_ENABLED
• For NX:
• QS_NX_RELATION_POST_ACTION_ENABLED
• QS_BBOX_GENERATION_FROM_NX_ENABLED
• For JT:
• QS_TRUSHAPE_GENERATION_ENABLED
• QS_BBOX_GENERATION_ENABLED
For more information on accessing these preferences, see Where can I get a list of preferences? in Active
Workspace Administration.
The NX bounding box is stored in Teamcenter in a UGPART-BBOX file, and the TSO data is stored in the
Trueshape-Data file. Both the files are attached to the UGMASTER dataset.
3. Ensure that all transforms are upgraded by running the qsearch_process_queue utility again with
the -list_legacy_transforms option.
1. Find all NX datasets that do not have the UGPARTBBOX file by running the
create_or_update_bbox_and_tso utility:
2. In the Customer Defaults dialog box, click Assemblies > Site Standards, and select True Shape
tab.
3. Set the cell size and cell units, and click Generate Component Shape Representations on Save.
TSO files are generated upon every save. The default cell size in NX is 0.0 mm. A cell size of 3 mm
is recommended for a more accurate spatial search.
4. Generate the TSO files for the existing NX dataset by running the run_tc_publishing_utility.bat
utility:
You can generate bounding boxes for all data in the Teamcenter database. Although this is the
recommended method, it is time-consuming. If you do not wish to wait for all data to be indexed,
you can proceed and generate bounding boxes and TSO files for a specific structure.
Scenario Procedure
Generate bounding To generate bounding boxes, first query the Teamcenter database to find
boxes and TSO files out how many bounding boxes must be processed for the entire database.
for all data Subsequently, create the bounding boxes by using the NX bounding box
data.
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba -translation_mode=NXBBOXTOBBOX
-mode=query+process
Generate bounding To generate the bounding box, first query the Teamcenter database to find
boxes and TSO the structure indexed using Smart Discovery Indexing. Subsequently, create
files for a specific the bounding box.
structure
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba -translation_mode=NXBBOXTOBBOX
-mode=query+process -product=<product_item_id>
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba -translation_mode=NXBBOXTOBBOX
Scenario Procedure
-mode=query+process
-product=%#MFK#%,=item_id=<product_item_id>,object_t
ype=<item_or_its_sub_type>
For detailed information about the create_or_update_bbox_and_tso utility and its arguments, run
create_or_update_bbox_and_tso -h on the Teamcenter command prompt.
Enable the generation of bounding boxes and TSO files in Dispatcher for new data
If you use CAD applications other than NX, you must enable the generation of bounding boxes and
TSO files in Dispatcher. If Dispatcher is not deployed in your Teamcenter set up, install it along with the
JtToBboxAndTso translator. If Dispatcher is available, update it to include this translator.
The JtToBboxAndTso translator invokes the process to create the bounding boxes and TSO files for
new data that is currently not available in the Teamcenter database. Teamcenter reads the bounding
box information from this index and stores the TSO data in a Trushape-Data file attached to the
DirectModel dataset.
Generate Teamcenter bounding boxes and TSO files for existing data
You can generate bounding boxes and TSO files for all existing data in the Teamcenter database.
Although this is the recommended method, it is time-consuming. If you do not wish to wait for all data
to be indexed, you can proceed and generate bounding boxes and TSO files for a specific structure.
Scenario Procedure
Generate bounding To generate bounding boxes and TSO files, query the Teamcenter database
boxes and TSO files first and then create the files.
for all data
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba
Scenario Procedure
-translation_mode=JTTOBBOX+JTTOTSO
-mode=query+process
Generate bounding To generate bounding boxes and TSO files for a structure indexed using
boxes and TSO Smart Discovery Indexing, query the Teamcenter database first and then
files for a specific create the files.
structure
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba
-translation_mode=JTTOBBOX+JTTOTSO
-mode=query+process -scope=PRODUCT
-product=<product_item_ID>
create_or_update_bbox_and_tso -u=<user_id>
-p=<password> -g=dba
-translation_mode=JTTOBBOX+JTTOTSO
-mode=query+process -scope=PRODUCT
-product=%#MFK#%,=item_id=<product_item_id>,object_t
ype=<item_or_its_sub_type>
For detailed information about the create_or_update_bbox_and_tso utility and its arguments, run
create_or_update_bbox_and_tso -h on the Teamcenter command prompt.
Generating bounding boxes and TSO files for the existing data using the
create_or_update_bbox_and_tso utility is an one-time activity. You need not run this utility for
structures created after Smart Discovery Indexing is set up.
2. In Structure Manager, select the topmost node of the product, and click File > New > Item
Element.
3. In the Item Element dialog box, click More and select RDV Box Zone Form Type.
5. In the RDV Box Zone dialog box, click Check-Out and Edit.
6. Enter the base point coordinates and edge vectors. For this, you may refer to the zone dimensions
that you noted down earlier. You must enter data in every box.
3. Select the RDV Box Zone form and right click Check-In/Out > Check Out.
4. Right click the checked out form and click View Properties.
If All is not displayed, in General, locate bl_line_object, and continue with the steps below.
6. In the All properties tab, locate ItemRevision/GDE Object, and click the Expand icon , and select
Open.
7. Edit the base point and edge vector values and click Save and Check-In.
Before populating the Smart Discovery index in Solr, you can choose which properties of an item
revision or an occurrence must be indexed.
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:index
Next, set up a recurring task to incrementally update the Smart Discovery index.
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:sync
-interval=<time_interval_in_seconds>
Specify the time interval in seconds depending on your environment requirements and the number of
structures to be synchronized.
At this stage, you can validate your enterprise set up before starting the Smart Discovery index creation
process. To validate, you perform a basic test to ensure that TcFTSIndexer and Smart Discovery Indexing
are set up correctly:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:test
Currently, an automated process to index all structures present in the Teamcenter database is not
available.
For structures already existing in the Teamcenter database, plan and choose which structures you want
to index based on your site requirements. The selected structures must be the topmost nodes. This is a
one-time activity. The recurring task will keep the indexed structures up to date.
Every time a user creates a new structure, you must determine if it needs to be indexed and manually
index it.
Prerequisites
Before setting up the creation of the Smart Discovery index, ensure that the recurring task to update
the index is running. Additionally, as the process of creating the Smart Discovery index is complex
and takes time, before creating the index, ensure that your enterprise setup meets the following
recommendations:
• Ensure that you have the read access to structures (and their contents) that you want to index.
Users working on structures that are being indexed may cause issues or may slow down the indexing
process. Additionally, the troubleshooting process may also get interrupted while you are determining
the cause.
• Schedule the process of creating the Smart Discovery index on non-working days or at off-hours.
It is recommended to do so because the discovery:sync task that updates the Smart Discovery index
at regular time intervals might be running and the Smart Discovery index creation process might
delay the synchronization task.
Also, large structures take several hours to get indexed. Therefore, estimate how long the indexing
process may take. To estimate, index a medium-sized structure and scale the recorded time to your
production setup's structure sizes. Additionally, wait for the Smart Discovery index creation process to
complete.
• Increase the system and environment resources, server pool sizes, and timeout duration of the
indexing process. Additionally, enable the parallel processing process.
• Ensure that there are minimal connectivity issues in a wide area network environment as the indexing
process is highly communicative and may get interrupted due to network restriction or congestion.
Procedure
1. Perform a basic test to ensure that TcFTSIndexer and Smart Discovery Indexing are set up
correctly:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:test
2. Create the Smart Discovery index by either running the TcFTSIndexer utility or the
smart_discovery_index utility.
Run the TcFTSIndexer utility for every structure that you want to index. You run this utility on
the machine on which Indexer is deployed.
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:create
-product=<product_item_id>
If Mutli-Field Key (MFK) is used to uniquely identify a structure, execute the runTcFTSIndexer
using the following syntax:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:create
-productKey="item_id=<product_item_id>,object_type=<item_or_its_sub
_type>"
The time taken to create the Smart Discovery index is dependent on the size of the structure.
Larger structures may take longer time to get indexed. To avoid the time-out during the index
creation process, it is recommended that you use the server manager (pool manager) dedicated
to TcFTSIndexer for executing the indexing process. It is also recommended that you set
QUERY_TIMEOUT to 0 in the serverPool.properties file so that the server connection does not
time out automatically and allows the indexing process to complete.
To check the status of the indexing process, run the following command:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -status
Run the smart_discovery_index utility for every structure that you want to index. You run this
utility on the machine where Teamcenter is deployed.
The structure is now submitted for processing the index creation. If indexed successfully, the
structure is moved to the list of products for which indexes are Available. To verify if the
structure is listed in the Available list, you must inspect the status of the indexing process by
running the following command:
Note:
Use the smart_discovery_index utility if you are using Active Workspace 6.0 with
Teamcenter 13.2 or later. If you are using Active Workspace 6.0 with a version of
Teamcenter prior to 13.2, use the structure_discovery_index utility instead.
Postrequisites
After you index structures, generate a report to inspect the status of the indexer. In case of any issue,
see Troubleshoot issues related to administering Smart Discovery Indexing.
Inspect the status of the indexer or a structure by using the TcFTSIndexer utility
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:admin
-inspect_indexer -depth=<report_level>
Here, the report_level specifies the level to which the inspection routine can go into. The value of
report_level can be 0, 1, or 2. It is recommended that you set the value as 1. If you set the value as 2,
the report may take longer to execute.
To generate a report to find object that did not get indexed or updated in Solr, run the TcFTSIndexer
utility:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:admin
-report_failures
This report is also available in the TC_ROOT/TcFTSIndexer/logs/report/directory folder. And, the name of
the report is in the format, occpropreport_<yyyy_MM_dd_HH_mm_ss>.txt.
Inspect the status of the indexer or a structure by using the smart_discovery_index utility
Note:
Use the smart_discovery_index utility if you are using Active Workspace 6.0 with Teamcenter
13.2 or later. If you are using Active Workspace 6.0 with a version of Teamcenter prior to 13.2, use
the structure_discovery_index utility instead.
The details of the report are displayed in the command prompt. If any issues are listed, you may
troubleshoot to fix them.
You can update the following preferences to specify various duration and time limits:
Preference Description
QSEARCH_ADMIN_inspect_updater_last_proc Specify the time limit to determine when the
essed_date_age_limit updater is deemed stale with respect to its last
processed date.
QSEARCH_ADMIN_inspect_stale_product_age Specify the time limit to determine when a
structure is deemed stale with respect to its last
updated date.
QSEARCH_ADMIN_inspect_stale_product_age Specify the time limit to determine when a
_delta_updater structure is deemed stale with respect to its last
updated date relative to the last processed date
of the index updater.
You can also inspect the status of a specific structure by using a hierarchical path consisting of item IDs
or unique IDs.
Example:
To inspect the status of GREEN_SEAT_DC2 in CROSSKART_DC:
Deleting the Smart Discovery index of a product does not modify its structure and the product can be
reindexed.
Tip:
Deleting the Smart Discovery index of a product can improve the search and filtering performance
of the remaining products. Purge legacy data of a product that is frozen, released, or retired.
Note:
Use the smart_discovery_index utility if you are using Active Workspace 6.0 with Teamcenter
13.2 or later. If you are using Active Workspace 6.0 with a version of Teamcenter prior to 13.2, use
the structure_discovery_index utility instead.
Task Action
Run Active Workspace In Services, check if the status is Running. Else, start the service.
indexing service
Run TcFTSIndexer Start TcFTSIndexer as a service:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer
-service
Enable Smart Discovery TC_ROOT/bin/smart_discovery_index -u=<user_id>
Indexing -p=<password> -g=<group> -enable
Task Action
Perform a basic test to TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer
ensure that TcFTSIndexer -task=discovery:test
and Smart Discovery
Indexing are set up correctly
Create Smart Discovery TC_ROOT/bin/smart_discovery_index -u=<user_id>
index -p=<password> -g=<group> -create
-product=<product_item_id>
smart_discovery_index -u=<user_id>
-p=<password> -g=<group> -create
-product=%#MFK#%,=item_id=<product_item_id>,ob
ject_type=<item_or_its_sub_type>
Inspect the Smart Discovery TC_ROOT/bin/smart_discovery_index -u=<user_id>
index creation status -p=<password> -g=<group> -inspect
View how many structures TC_ROOT/bin/smart_discovery_index -u=<user_id>
are indexed -p=<password> -g=<group> -list
• Issues found while populating Solr with the Smart Discovery index.
• Issues found while updating the Smart Discovery index at regular time intervals.
Issue Fix
The Teamcenter relational database is • Inspect the Smart Discovery index to see if
unavailable. there are any issues reported for the structure
or for a target item.
Additionally, inspect the tcserver log files for issues. Also, restrict the active users to administrators till
the initial Smart Discovery index creation is complete.
Issues found while populating Solr with the Smart Discovery index
Issue Fix
Solr is unavailable. • Restart the indexer (FTSIndexer) and Solr
processes.
Issues found while updating the Smart Discovery index at regular time intervals
(FTSIndexer synchronization)
Issue Fix
The Smart Discovery index in Solr is unavailable. • Ensure that the synchronization task is
set up and is executed at the specified
time interval. The structures in which issues
were found while updating the Smart
Discovery index are considered again for
synchronization.
The product path in the Smart Discovery index is • Ensure that the synchronization task is
not updated set up and is executed at the specified
time interval. The structures in which issues
OR
were found while updating the Smart
There is a long work queue. Discovery index are considered again for
synchronization. The Smart Discovery index
in Solr is automatically updated when the
product path is updated in the Teamcenter
relational database.
Issue Fix
• Check if the session settings are correct.
• The indexed properties of an item revision are not displayed as filters in the Filter panel.
• The proximity and volume filter options are not available in the Filter panel.
• The changes made to an indexed structure are not updated in the Smart Discovery index.
• The indexed occurrence properties are not displayed as filters in the Filter panel.
The indexed properties of an item revision are not displayed as filters in the Filter panel
Reason Fix
The item revision properties are not set up for Set up the item revisions to appear as filters in
global search indexing. the global search.
The item revision properties are not set up for Set up the item revisions to appear as filters in
Smart Discovery Indexing. the in-context search of an indexed structure.
OR
The item revision properties are not listed in the
AWS_Discovery_FullTextSearch_FacetFilters
preference.
The proximity and volume filter options are not available in the Filter panel
Reason Fix
The structure was indexed using Active Content Index the structures again using Smart
Structure Indexing. Discovery Indexing. Users must then select
a revision rule from the list below the line
separator.
There were problems during indexing. Follow the troubleshooting steps to fix issues
found while creating the Smart Discovery
index and populating Solr with the Smart
Discovery index.
The spatial data is not generated. Generate and verify spatial data for NX and JT
datasets. Wait for the next synchronization to be
complete. Lastly, delete the Smart Discovery
index and index the structure again.
The Smart Discovery index in Solr is not Follow the troubleshooting steps to fix issues
updated. found while updating the Smart Discovery
index at regular time intervals.
The session, which stores the filtered and Check if the session settings are correct.
configured structures, is not configured
correctly.
• Check the tcserver log files for issues during the creation or import of spatial data.
Reason Fix
Correct license is not available. Verify if the Context Management User license
is available in your Teamcenter setup.
From Active Workspace 6.0 onwards, you can
check for this license by running the following
utility:
TC_ROOT\TcFTSIndexer\bin\runTcFT
SIndexer.bat
-task=discovery:task
Solr is not set up correctly. • Check the solr.log file at the location where
Solr is setup, for example, TCROOT/Solr.
The changes made to an indexed structure are not updated in the Smart Discovery index
Reason Fix
The FTSIndexer synchronization task is not Follow the troubleshooting steps to fix issues
running. found while updating the Smart Discovery
index at regular time intervals.
OR
The FTSIndexer synchronization task is running
but the changes are not yet updated.
A problem during the initial indexing is causing Follow the troubleshooting steps to fix issues
update issues. found while creating the Smart Discovery
index.
The session is configured incorrectly. Check if the session settings are correct.
Additionally, increase the system resources and tcserver pool resources, if needed.
The indexed occurrence properties are not displayed as filters in the Filter panel
Reason Fix
The Smart Discovery index in Solr is not Follow the troubleshooting steps to fix issues
updated. found while updating the Smart Discovery
index at a regular time intervals.
OR
Reason Fix
The Solr schema is not updated.
An error occurred while updating the Check the associated log files and set up
occurrence property in BMIDE. occurrence properties for indexing again.
OR
The occurrence property type is not supported.
The newly added occurrence property does Create a sample persistent occurrence property
not have any value populated in the target and add a value to it. Wait for the
structure. synchronization to be complete. In case of any
errors, follow the troubleshooting steps to fix
synchronization issues.
The session is configured incorrectly. Check if the session settings are correct.
The occurrence properties are not listed in the Set up the properties to appear as filters in the
AWS_Discovery_FullTextSearch_FacetFilters in-context search for an indexed structure.
preference.
Additionally, increase the system resources and tcserver pool resources, if needed.
There can be several reasons for not getting the expected search results or not seeing the search results
that you see in other applications, such as NX and Lifecycle Visualization, in Active Workspace.
Reason Fix
The Smart Discovery index in Solr is not Ensure that your setup meets the
updated. recommendations required to create the
Smart Discovery index.
Additionally, increase the system resources and tcserver pool resources, if needed.
On upgrading Teamcenter from 13.x to 14.x, the Filter icon is not enabled on Active Workspace. To
enable to Filter icon:
runFTSIndexer -task=discovery:index
4. Inspect the discovery log file to check if there are any errors. If there are no errors, run the
following utility:
If there are errors in the discovery log file, follow the instructions to troubleshoot issues related to
Smart Discovery Indexing.
On upgrading Teamcenter to Active Workspace 5.2 or later, the creation of the Smart Discovery index
fails. This is because in the versions of Active Workspace prior to 5.2, some fields in the Solr schema
are single-valued, which have to be converted to multi-valued during the upgrade process. Due to
this conversion, you must recreate the Smart Discovery index. However, while doing so, you get the
following error message:
To fix this error, the data directory of ProductScopeCollection must be deleted as follows:
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:index
The reindexing process may take several hours for a large database.
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=objdata:sync
-interval=<time_interval_in_seconds>
TC_ROOT/TcFTSIndexer/bin/runTcFTSIndexer -task=discovery:sync
-interval=<time_interval_in_seconds>
Structures in which issues were found while updating the Smart Discovery index are considered again
for synchronization, and the issues are automatically resolved. However, certain objects in the structure
in which the issues cannot be fixed automatically are quarantined. For example, if the background
update of an index has failed and cannot be resolved automatically, it is placed in quarantine.
Information related to the failure is recorded in the tcserver log file under the quarantine section.
smart_discovery_index -inspect
To locate the tcserver log file to view the details related to the issues, run:
smart_discovery_index -report_update_failures
In the tcserver log file (for example, syslog.example.syslog), search for quarantine to locate the
quarantined objects and to view the details related to the issues found.