Nextis.SmartSearch.Client: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „test“) |
|||
Řádka 1: | Řádka 1: | ||
− | + | 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 ==== | ||
+ | <syntaxhighlight lang="vb"> | ||
+ | Private WithEvents Client As Nextis.SmartSearch.Client.SmartSearchClient | ||
+ | </syntaxhighlight><syntaxhighlight lang="vb.net"> | ||
+ | Private WithEvents Client As Nextis.SmartSearch.Client.SmartSearchClient | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ==== Initialization of the client object ==== | ||
+ | <syntaxhighlight lang="vb.net"> | ||
+ | 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 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ==== Searching through the client ==== | ||
+ | |||
+ | ===== Creating request ===== | ||
+ | |||
+ | ===== Sending request ===== | ||
+ | |||
+ | ===== Getting response ===== | ||
+ | |||
+ | ==== Obtaining the service state ==== |
Verze z 5. 7. 2019, 10:01
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