IntelligenceX / SDK

Public SDK for Intelligence X
https://intelx.io
405 stars 93 forks source link

Golang module missing core functionalities #535

Open gabriel-pcr opened 5 months ago

gabriel-pcr commented 5 months ago

Hi,

When comparing the Golang API with the Python SDK, I've noticed that the Golang version lacks core functionalities such as tree view and file view, among others. Additionally, there seems to be an issue with the SearchResult struct. It omits some important fields, such as an 'indexfile' field that would specify the storage location to search for in the tree view.

Here's the current struct definition for reference:

type SearchResult struct {
    Item
    AccessLevelH string                
    MediaH       string              
    SimhashH     string                
    TypeH        string                
    TagsH        []PanelSearchResultTag 
    RandomID     uuid.UUID            
    BucketH      string               
}

This struct is missing some important fields that are necessary for implementing a tree view, such as a reference to the specific storage to search. This limitation significantly affects the API's usability for certain applications. Are there any plans to update the Golang API to include these missing functionalities and fields?"