Overview
Documents or other objects might have more than two ACL permission levels. Currently IDOL indexes only two ACL levels. More than two ACL levels might lead to the skewed result counts.Sometimes the customer is unsure whether they have used more than two ACL levels in the documents or other objects after the indexing. This support article describes how to check whether some objects have more than two ACL levels.
Notice! The usage of this manual requires a basic knowledge of HPE IDOL, like terms
DIH/DAH and engine
Solution
1. Create .idx files by opening the following URL in each engine. To ease the procedure, you can do the opening of the each engine URL from the frontend server.http://[IP]:[IndexPort of the engine (ending with 1)]/DREEXPORTIDX?FileName=[name of the created file]&DatabaseMatch=[IDOL database name]
Example:
The created file is in the folder [HDD letter]:\[engine name]\IDOLServer\IDOL\content and it is compressed as .gz e.g. F:\Single11\IDOLServer\IDOL\content\ACL_Test20.idx.gz.
In Daily engine, if you do not find the file it means that all index data from the Daily is flushed into the main index. Then you do not need that file.
Note. You can ease up the work by creating a following Power Shell script that runs every engine URL at once.
Note 2: The file paths in this document are for IDOL 10.9 although the procedure is the same for IDOL 12.x.
$navOpenInBackgroundTab = 0x1000;
$ie = new-object -com InternetExplorer.Application
$ie.Navigate2("http://192.168.75.128:9001/DREEXPORTIDX?FileName=ACL_test09&DatabaseMatch=SomeUniqueIndexName");
$ie.Navigate2("http://192.168.75.130:10001/DREEXPORTIDX?FileName=ACL_test10&DatabaseMatch=SomeUniqueIndexName", $navOpenInBackgroundTab);
...all the other engines...
$ie.Navigate2("http://192.168.75.131:24001/DREEXPORTIDX?FileName=ACL_test24&DatabaseMatch=SomeUniqueIndexName", $navOpenInBackgroundTab);
$ie.Visible = $true;
You can ease up the work by creating a following Power Shell script.
...all the other engines in the particular backend server...
Copy-Item "I:\Single14\IDOLServer\IDOL\content\ACL_test14-0.idx.gz" -Destination "C:\temp\ACL"
4. Run ACL.ps1 in the .idx folder in dry, log and summary mode.
3221 objects read from 10 files
1 objects detected in 1 files
If there are any objects with more than 2 ACL components, it is time to consider whether it is useful to start to reconfigure the system. It is good to remember that the issue is coming only in the number of documents, not in actual search results. So, check how many of those objects are in the vault? Modifying the index to handle more ACL components will require advanced configuration by M-Files staff and re-indexing the whole vault.
Attachments
Attachments.zip- MissingACL.ps1
- ACL.ps1
