Enabling searching in iMIS 15 web views
The publishing and indexing services work together to allow searching the websites created by the iMIS application. However, the documentation for how to make all the pieces fit together is sometimes on multiple pages, and hard to find.
The sections below detail all the pieces which must be configured appropriately to make this feature work correctly.
Before you begin
You will need to know these details about your installation before you start. The letter in
brackets is used throughout the later sections for brevity. These instructions show the details necessary for each site. You must repeat these instructions for every WCM-controlled site including (and usually starting with) the iMIS Casual site.
- The iMIS installation path. [InstallPath]
- iMIS4.LBR is found in this folder.
- The default location is C:\Program Files\ASI\iMIS15
- Additional installs are often named like C:\Program Files\ASI\iMIS_test
- Website folder. [WebsiteFolder]
- The Casual site is located at [InstallPath]\Net
- WCM sites are created from a copy of the casual site, but could be located anywhere. This will be the directory IIS uses for the WCM site application.
- The index storage folder. [IndexStoragePath]
- The default location is [InstallPath]\indexServiceProtected.
- The name of the Indexing Service catalog you will create or use for this site. [Catalog]
- The default catalog is named "iMIS".
- Two sites may share a catalog if the results from both sites should show up in the same results.
- The port AsiPublishing will use to communicate with the indexing service. [PublishPort]
- The casual site of the first instance of iMIS is assigned port 15151.
- Additional sites and additional instances are typically assigned the next available port number.
- Every website must have a unique port even if two publishing servers will write to the same catalog.
- The publishing code used by this AsiPublishing service. [PublishCode]
- The casual site of the first instance of iMIS is assigned publishing code A.
- Additional publishing services can use the letters B-Z in any order.
- Using the wrong publishing code can result in content being published and indexed in the wrong website.
Edit [WebsiteFolder]\web.config
- Find the line that begins
- Edit the catalog attribute so it reads
catalog="[Catalog]" - Example:
Edit [WebsiteFolder]\SearchRemoting.config
- Find
- Change url so it reads
url="tcp://localhost:[PublishPort]" - Example:
Edit [WebsiteFolder]\bin\PublishService.exe.config
- Find
- Change port so it reads
port="[PublishPort]" - Example:
- Find
- Change value so it reads
value="[PublishCode]" - Example:
Publishing Server setup
- In Casual view of iMIS, navigate to Content Management > Maintenance > Publishing Servers
- Edit or create publishing server
- Set "Publish Server Code" to [PublishCode]
- Set "Local Publish Path" to [WebsiteFolder]
- Set "Secure Content Path" to [IndexStoragePath]
Indexing service
- Start > Control Panel > Administrative Tools > Manage Computer > Indexing Service
- Create a catalog named [Catalog] stored at [IndexStoragePath]
- Restart Indexing service
- Right-click the indexing service, choose Stop, right-click, choose Start
- Add directory [IndexStoragePath] to catalog [Catalog]
- No restart needed after adding this path
Finishing
- Restart AsiPublishing service
- In indexing service, right-click on directory [IndexStoragePath] and choose "Reindex (Full)"