Purpose (problem description)
This page provides assistance with the Advanced Search feature of the Engineering Dashboard (ED).
When Advanced Search hangs, the page may look like this with the violation search just hanging where the red box is located:
Observed in CAST Version
Release | Yes/No |
---|---|
8.3.x, x>=3 with Dashboard package 1.7.0 or above |
Observed in RDBMS
RDBMS | Yes/No |
---|---|
CSS |
Step by Step Scenario
- Try to use Advanced Search
- Search hangs
Action Plan
Perform the below actions
- First make sure that you have enabled Advanced Search as indicated in the documentation located here: CAST Dashboard Package - Engineering Dashboard - Search options - Advanced Search as Advanced Search is not enabled by default.
- Ensure that you are using a compatible java version - Standalone dashboard - installation requirements, If not the Lucene Indexe file will not be created, the log file will contain the following message:
Cannot create Lucene Indexes: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
- Next make sure that other areas of the ED dashboard are working fine and this is just an issue with Advanced Search
- If other areas are having problems as well, please see this page for assistance: Engineering Dashboard Component ED
- If you have enabled Advanced Search and other parts of the ED dashboard are working fine, then check in the restapi.log file for messages like (For assistance with finding the restapi.log, please see this page: Configuring the Log and Audit Trail ):
- 'ERROR: column "lucene_sort_order" of relation "temp_violations" does not exist'
- 'bad SQL grammar [insert into TEMP_VIOLATIONS...'.
- If these errors are found, then do the following to resolve the issue:
- Stop Tomcat or your web application server (see the documentation with your web application server if you need assistance with this or other steps below).
- In the pgadmin query window, issue the following commands:
- set search_path=<name of the central database having the issue>;
- drop table temp_violations;
- Then, drop the folder ED located at <war-folder>/indexesDirectory/ED (the folder with the domain name under indexesDirectory and where <war-folder> is your deployment folder on your web application server)
- Restart tomcat or your web application server
- Using the static/default interface, send a PUT request : ED/violations-index (don't forget the PUT, if you let the GET you will have a 404 error) as in the below screenshot:
- Go to the advanced Search page and see if this has resolved your issue.
- This error is normally caused by using an older dashboard version and trying to use Advanced Search with that version prior to upgrading to a later version. Some prior versions had a partial implementation of Advanced Search.
- If these errors are not found or the steps above did not resolve your issue, then please contact CAST Technical Support and provide this Relevant Input
Notes/comments
Ticket # 18698
Related Pages