Nextis.SmartSearch.Client

Z Podpora.nextis.cz
Přejít na: navigace, hledání

This article describes, how to implement and use Nextis.SmartSearch technology within the third party products.

Prerequisities

Referenced libraries

  • Core.UI.Culture.dll
  • Nextis.SmartSearch.Client.dll
  • Nextis.SmartSearch.Proxy.dll

Framework

  • .NET Framework ver.: 4.6.1 and higher

Connection information

  • Authorization token (provided by Nextis)
  • Service location/address (provided by Nextis)

Implementation

Declaration of the client object

Private WithEvents Client As Nextis.SmartSearch.Client.SmartSearchClient
Private WithEvents Client As Nextis.SmartSearch.Client.SmartSearchClient

Initialization of the client object

Sub Initialize()
    Dim Config As New Nextis.SmartSearch.Client.SmartSearchClientConfiguration()
    With Config
        .Mode = Nextis.SmartSearch.Client.SmartSearchClient.ClientMode.RemoteWS
        .WSAddress = "obelix2.nextis.cz:32888"
        .AuthorizationToken = "nextis"
    End With
    Me.Client = New Nextis.SmartSearch.Client.SmartSearchClient(Config)
End Sub

Searching through the client

Creating request
Sending request
Getting response

Obtaining the service state