Powered by Zoomin Software. For more details please contactZoomin

Semaphore Semantic Enhancement Server (SES) API Reference

The “facets” command

  • Last Updated: October 30, 2026
  • 1 minute read
    • Semaphore
    • Documentation

<meta name="title" content="The "facets" command"/> | | REST request: | http://localhost:8983/ses/SpaceMissions/facets| http://localhost:8983/ses/SpaceMissions/facets.json | | CGI request: | http://localhost:8983/ses/?TBDB=SpaceMissions&service=facetslist | http://localhost:8983/ses/?TBDB=SpaceMissions&service=facetslist&template=service.json |

Response

XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<SEMAPHORE>
    <PARAMETERS>
        <PARAMETER NAME="relatedconceptlimit">10000</PARAMETER>
        <PARAMETER NAME="q">content_type:display_facet</PARAMETER>
        <PARAMETER NAME="pathelementlimit">10000</PARAMETER>
        <PARAMETER NAME="fl">json_en id</PARAMETER>
        <PARAMETER NAME="language">en</PARAMETER>
        <PARAMETER NAME="language">en</PARAMETER>
        <PARAMETER NAME="language">en</PARAMETER>
        <PARAMETER NAME="sort">name_en_pl asc</PARAMETER>
        <PARAMETER NAME="rows">1000</PARAMETER>
        <PARAMETER NAME="version">1</PARAMETER>
        <PARAMETER NAME="wt">sesFacetsXML</PARAMETER>
        <PARAMETER NAME="structure">XML</PARAMETER>
        <PARAMETER NAME="rid">127.0.0.1-51</PARAMETER>
    </PARAMETERS>
    <FACETS_LIST count="4">
        <FACET ID="c7c21bc6-8acc-4228-a7b3-ddb5f2ac1e59" NAME="Places" URI="http://models.smartlogic.com/SpaceMissions#ConceptScheme/Places"/>
        <FACET ID="7e3009d6-2636-4e96-af72-81a70b19e18d" NAME="Programmes &amp; Missions" URI="http://models.smartlogic.com/SpaceMissions#ConceptScheme/Programmes-Missions"/>
        <FACET ID="bfc33274-197f-4873-a1f4-f421c8ab64aa" NAME="People" URI="http://models.smartlogic.com/SpaceMissions#ConceptScheme/People"/>
        <FACET ID="628286df-b32b-47cd-a8de-f310d17ad43d" NAME="Vehicles" URI="http://models.smartlogic.com/SpaceMissions#ConceptScheme/Vehicles"/>
    </FACETS_LIST>
</SEMAPHORE>

JSON

{
  "parameters" : {
    "relatedconceptlimit" : "10000",
    "q" : "content_type:display_facet",
    "pathelementlimit" : "10000",
    "fl" : "json_en id",
    "language" : "\"en\", \"en\", \"en\"",
    "sort" : "name_en_pl asc",
    "rows" : "1000",
    "version" : "1",
    "wt" : "sesFacetsJSON",
    "structure" : "JSON",
    "rid" : "127.0.0.1-52"
  },
  "facetsList" : {
    "c7c21bc6-8acc-4228-a7b3-ddb5f2ac1e59" : "Places",
    "7e3009d6-2636-4e96-af72-81a70b19e18d" : "Programmes & Missions",
    "bfc33274-197f-4873-a1f4-f421c8ab64aa" : "People",
    "628286df-b32b-47cd-a8de-f310d17ad43d" : "Vehicles"
  },
  "total" : 4
}
Alert