spListSearch
This is deprecated and to use spSearch instead.
Required Parameters
| |
| querytext | The querytext used to do the search. | |
| syntax | Specifies which syntax will be used for the search. [Keyword] indicates the Keyword syntax will be used to do the search(For more information about the allowed syntax, for MOSS users please refer to http://msdn.microsoft.com/en-us/library/ms497636.aspx, for WSS users please refer to http://msdn.microsoft.com/en-us/library/ms467796.aspx.). And [SQL] indicates SQL syntax will be used(For more information about the allowed syntax, for MOSS users please refer to http://msdn.microsoft.com/en-us/library/ms493660.aspx, for WSS users please refer to http://msdn.microsoft.com/en-us/library/ms443580.aspx). The allowed values are: Keyword, SQL. | |
Optional Parameters
| |
| siteurl | The absolute url of the target web site. The siteurl must be provided if you need to work out of SharePoint. | |
| selectedproperties | When [Keyword] syntax is used, use this option to restrict which properties to be fetched. | |
| keywordinclusion | Defines the keyword inclusion for the search. The allowed values are: AllKeywords, AnyKeyword. | |
| resulttype | Defines the result type for Search results to be listed. The option works only with the MOSS. For WSS, the [RelevantResults] is always used. (Please refer to http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.query.resulttype.aspx for more information.) The allowed values are: DefinitionResults, HighConfidenceResults, RelevantResults, SpecialTermResults. | |
| ignoreallnoisequery | Specifies whether the query should excecute if the query text contains only noise words. Noise words in a search are words that have no search value in SharePoint(Such as a, And, is, in, it, of, the, to). You can find and configure all noise words at c:\program files\microsoft office servers\12.0\data\config. The allowed values are: true, false. | |
| rowlimit | An integer number that specifies the maximum number of rows can be returned in the search results. | |
| startrow | An integer number that specifies the first row included in the search results. | |
| trimduplicates | Specifies whether duplicate items should be removed from the search results. The allowed values are: true, false. | |
Output Attributes
| |
| sp:* | Output varies based upon the querytext(for SQL syntax) and the selectedproperties(for Keyword syntax). | |