Forum Discussion

niten's avatar
niten
Guide
12 years ago

rest API search call

Hi everyone,

My client has 2 different domain, and for some reason, the rest API search call doesn't work the same on thedevelopment domain  and on the qualification domain

For example, in a component when using :
<#assign messages= rest("/search/messages?q=is_root:true&sort_by=-replies&page_size=5") />

It return the messages on the qualification domain :
http://forums-lithiumstage.sosh.fr/restapi/vc/search/messages?q=is_root:true&sort_by=-replies&page_size=5

But not on the dev one :
http://aipia58579.stage.lithium.com/restapi/vc/search/messages?q=is_root:true&sort_by=-replies&page_size=5

althoug there is messages on the second domain. Am I  missing something ?

 

niten

1 Reply

  • AdamN's avatar
    AdamN
    Khoros Oracle
    12 years ago

    I'd suggest having the search index reset to rule that out as a possible issue. If you file a case, our Support team should be able to assist with getting that reset for you.