2 Replies Latest reply on Feb 1, 2017 2:42 AM by SunilKr

    Is there any way to upload batch search synonyms?

    SunilKr Novice

      Hi,

      We have an requirement to add extensive list of multiple content synonyms to configure. Do we have any endpoints API to add search synonyms?

       

      Also I am looking for the database table where the synonyms get stored?

       

      Any idea how to do that?

       

      Environment : Hosted - 8.0.4.0

       

      cc:

      Ryan Rutan

       

      Thanks,

      Sunil

        • Re: Is there any way to upload batch search synonyms?
          Intermediate

          Hi Sunil Kumar,

           

          Do we have any endpoints API to add search synonyms?

          There is no documented V3 API for uploading search synonyms. You may be able to leverage the same mechanism that Jive uses to create search synonyms by using browser developer tools to capture the request that Jive makes when saving search synonyms.

           

          Also I am looking for the database table where the synonyms get stored?

          Looks like they are stored as jive properties in the jiveProperty table as encoded strings. This is the output for the search synonym "test, testing, tests":

          select * from jiveproperty where name like 'search.aliases%';

                          name                |  propvalue

          ------------------------------------+--------------

          search.aliases.content.en.dGVzdA== | dGVzdGluZw==,dGVzdHM=

           

          Regards,

          Matt Hill