Powered by Zoomin Software. For more details please contactZoomin

Semaphore Semantic Enhancement Server (SES) API Reference

callback

  • Last Updated: May 13, 2026
  • 1 minute read
    • Semaphore
    • Documentation

If a “callback” parameter is defined on the request (e.g. “callback=jQuery172_14”) then any JSON response will be wrapped with a function of that name (e.g. “jQuery172_14(<<json response>>)”).

From Semaphore 5.8 onwards, if you want to disable the possibility of users using this functionality then you can disable it in the SES configuration.

In file file <SES Installation>/solr/server/ses-webapp/WEB-INF/web.xml update the SESConversionFilter element to add the init-param “disableJsonp”, as follows.

  <filter>
    <filter-name>SESConversionFilter</filter-name>
    <filter-class>com.smartlogic.ses.solrfilter.SESConversionFilter</filter-class>
    <init-param>
      <param-name>defaultLanguage</param-name>
      <param-value>en</param-value>
    </init-param>
    <init-param>
      <param-name>disableJsonp</param-name>
      <param-value>true</param-value>
    </init-param>   
  </filter>

then restart the SES service

TitleResults for “How to create a CRG?”Also Available inAlert