SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

SPSearch Class

Properties   Methods   Events   Configuration Settings   Errors  

Provides search capabilities to a SharePoint site.

Syntax

insp.spsearch()

Remarks

The SPSearch class allows you to search SharePoint sites.

To get started, set the URL, User, and Password properties to point the class to your Site.

To retrieve the status for the search service on the SharePoint site, call the GetStatus method.

To use the search service, set the SearchType property to the type of query to use in the search. Next, call the Search method with a valid Query parameter. Once the method returns, the ResultCount and ResultIndex properties can be used to iterate through each search result. The ResultProperties collection can be used to get information about each of the results returned by SharePoint.

About SharePoint Online Services

When using Microsoft SharePoint Online you must set AuthScheme to authSPOnline (7).

Property List


The following is the full list of the properties of the class with short descriptions. Click on the links for further details.

AuthSchemeThe authentication scheme to be used while authenticating with the server.
EnableStemmingEnables stemming in the search.
FirewallAutoDetectThis property tells the component whether or not to automatically detect and use firewall system settings, if available.
FirewallTypeThis property determines the type of firewall to connect through.
FirewallHostThis property contains the name or IP address of firewall (optional).
FirewallPasswordThis property contains a password if authentication is to be used when connecting through the firewall.
FirewallPortThis property contains the TCP port for the firewall Host .
FirewallUserThis property contains a user name if authentication is to be used connecting through a firewall.
IdleThe current status of the component.
IgnoreNoiseWhether or not to ignore noise words in the search.
PasswordThe password to use for authentication.
PropertyCountThe number of records in the Property arrays.
PropertyNameThe name of the property.
PropertySortBySet this value to Ascending or Descending to tell SharePoint that this property will be used to sort the results that will be returned.
ProxyAuthSchemeThis property is used to tell the component which type of authorization to perform when connecting to the proxy.
ProxyAutoDetectThis property tells the component whether or not to automatically detect and use proxy system settings, if available.
ProxyPasswordThis property contains a password if authentication is to be used for the proxy.
ProxyPortThis property contains the TCP port for the proxy Server (default 80).
ProxyServerIf a proxy Server is given, then the HTTP request is sent to the proxy instead of the server otherwise specified.
ProxySSLThis property determines when to use SSL for the connection to the proxy.
ProxyUserThis property contains a user name, if authentication is to be used for the proxy.
RangeCountThe number of results to return in the search.
RangeStartThe starting index of the results.
ResultCountThe number of results.
ResultIndexThe result index.
ResultPropertyCountThe number of records in the ResultProperty arrays.
ResultPropertyNameThe name of the parameter.
ResultPropertyValueThe value of the parameter.
SearchTypeThe type of query used in the search.
SharePointVersionThe SharePoint version.
SSLAcceptServerCertEncodedThe certificate (PEM/base64 encoded).
SSLCertEncodedThe certificate (PEM/base64 encoded).
SSLCertStoreThe name of the certificate store for the client certificate.
SSLCertStorePasswordIf the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
SSLCertStoreTypeThe type of certificate store for this certificate.
SSLCertSubjectThe subject of the certificate used for client authentication.
SSLServerCertEncodedThe certificate (PEM/base64 encoded).
TimeoutA timeout for the component.
TotalResultsGets the total number of results. This property is populated after calling to Search .
TrimDuplicatesRemove duplicate results.
URLThe base URL for the site.
UserThe user account to use for authentication.

Method List


The following is the full list of the methods of the class with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting .
DoEventsProcesses events from the internal message queue.
GetResultPropertyRetrieves the value of a property of a result.
GetStatusGet the status of the search service.
InterruptInterrupt the current method.
ResetResets request-related properties.
SearchSearches the specified SharePoint site.

Event List


The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.

ErrorInformation about errors during data delivery.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.

Configuration Settings


The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.

CapitalizeFirstLettersWhether or not to capitalize the first letter.
EnableSpellCheckEnables spell checking.
HighlightQuerySuggestionsWhether or not to highlight query suggestions.
IncludeHighConfidenceResultsIncludes high-confidence results.
IncludeImplicitANDWhether to include a default AND between search terms.
IncludePreQuerySuggestionsIncludes pre-query suggestions.
IncludeRelevantResultsIncludes relevant results.
IncludeSpecialTermResultsIncludes special term results.
ResubmitFlagsSpecifies how to handle resubmissions.
ResultProviderThe result provider to use.
ResultTypeThe result type of the current search result.
ElapsedTimeThe total time (in milliseconds) used for the search.
IsTotalResultsExactDetermines if the TotalResults is exact.
FormBasedCookiesHolds the security cookies for Form-Based Authentication.
SPOnlineSecurityCookiesHolds the security cookies for SharePoint Online.
SPOnlineSSOWhether to use Single Sign On (SSO) with Active Directory Federation Services (ADFS).
SPOnlineSTSThe URL of the online STS.
SPOnlineADFSAuthSchemeThe HTTP authentication scheme used when working with SSO.
SSODomainSpecifies the federation domain configured in Office 365.
CodePageThe system code page used for Unicode to Multibyte translations.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0