REST Search Result endpoint - Group appears incorrect

REST Search Result endpoint - Group appears incorrect

This question is not answered

Hi there,

Hopefully I can clearly describe what I'm seeing.

I'm searching for content using the following call...

http://server/api.ashx/v2/search.xml?query=test&filters=group::11||type::forum||type::forumreply&PageSize=1

...and I receive the following result...

<?xml version="1.0"?>
<Response>
<Info/>
<Warnings/>
<Errors/>
<SearchResults PageSize="1" PageIndex="0" TotalCount="15">
<SearchResult>
<!-- snip -->
<ThreadId>5</ThreadId>
<Group>
<Id>11</Id>
<!-- snip -->
</Group>
<!-- snip -->
</SearchResult>
</SearchResults>
</Response>


When I show the thread using...

http://server/api.ashx/v2/forums/threads/5.xml

...the result is...

<?xml version="1.0"?>
<Response>
<Info/>
<Warnings/>
<Errors/>
<Thread>
<Id>5</Id>
<!-- snip -->
<GroupId>2</GroupId>
<!-- snip -->
</Thread>
</Response>

The thread in question was deleted/archived and moved into another forum that exists in a group where GroupType is PrivateUnlisted. Is this a bug that the search result is not reporting the correct group id and that the forum message is even being included in the results given that its group is id 2, not id 11? Group 2 is not a subgroup of group 11 either.

Thanks,

Michael

All Replies
  • What version are you running?  If Telligent Community 5.6 or higher, or Telligent Enterprise 2.6 or higher, do you have the job Scheduler running.  Search cotnent is updated by the job scheduler in these versions, so without that the data in search will never be updated.

    Also if the thread was recently moved, it may take up to 5 minutes for the change to show up in Search.

  • We are on Telligent 7. I will get back to you on the job scheduler.

  • Alex, we do have the job scheduler running. I also received this information from the administrator.

    "Search indexing is done by Apache TomCat, search REST API handled by SOLR plugin to TomCat."

    I'm not sure what that means exactly, but if you have something we should investigate please pass it along. The administrator reset the search indexes and my problem was resolved, but if there's some process to ensure this is done automatically we'd like to enable it.

    Thanks,

    Michael