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.LibraryAssembly: 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