Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When GlobalCapture needs to get information about a field, list values, template data or other information during processing, it has to reach out to the Square9API GlobalSearch API or GlobalCapture API to get the catalog information.  There is a way to enable "Field Caching" which will save a copy of the field catalog in memory for a specified amount of timeThis data can be cached in memory to avoid polling of an API.  If the Engine encounters a scenario where it is interacting with a field, list value, template it does not have stored in memory it will reach out to the API to get the field information and then cache it.  Doing this can increase performance and eliminate the back and forth from the Capture Engine to the API.

Step-by-step guide

  1. Navigate to your GlobalCapture Engine directory, by default this is C:\GetSmart\CaptureServices\GlobalCapture_1.
  2. Open GlobalCapture.exe.config in a text editor of your choice
  3. In the <appSettings> section add the following

    value

    values

    Code Block
    <add key="ListTimeout" value="120" />
    <add key="EngineAllocationTimeout" value="120" />
    <add key="TemplateTimeout" value="120" />
    <add key="FieldTimeout" value="720"
    ><
     /
    add>
    >


  4. Restart the GlobalCapture_1 service# service, where # is the engine ID.


Info

The field timeout value is values are in minutes, so 720 minutes = 12 hours

...

Info

If you have multiple Capture Engines this will need to be performed on each one

Filter by label (Content by label)
showLabelsfalse
max5
spacesS9SKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("globalcapture","field-catalog","caching") and type = "page" and space = "S9SKB"
labelsglobalcapture field-catalog caching

...