mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Library >> SobekCM_Assistant >> Split_Clean_Search_Terms_Fields

SobekCM_Assistant.Split_Clean_Search_Terms_Fields Method



Takes the search string and search fields from the URL and parses them, according to the search type, into a collection of terms and a collection of fields. Stop words are also suppressed here


Namespace: SobekCM.Library
Assembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static void Split_Clean_Search_Terms_Fields(
	string Search_String,
	string Search_Fields,
	Search_Type_Enum Search_Type,
	List<string> Output_Terms,
	List<string> Output_Fields,
	List<string> Search_Stop_Words,
	Search_Precision_Type_Enum Search_Precision,
	char Delimiter_Character
)

Parameters

Search_String
Type: System..::..String
Search string from the SobekCM search results URL
Search_Fields
Type: System..::..String
Search fields from the SobekCM search results URL
Search_Type
Type: SobekCM.Core.Navigation..::..Search_Type_Enum
Type of search currently being performed (sets how it is parsed and default index)
Output_Terms
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
List takes the results of the parsing of the actual search terms
Output_Fields
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
List takes the results of the parsing of the actual (and implied) search fields
Search_Stop_Words
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
List of all stop words ignored during metadata searching (such as 'The', 'A', etc..)
Search_Precision
Type: SobekCM.Core.Navigation..::..Search_Precision_Type_Enum
Search precision for this search ( i.e., exact, contains, stemmed, thesaurus lookup )
Delimiter_Character
Type: System..::..Char
Character used as delimiter between different components of an advanced search

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )