Use Advanced Settings for Performance and Customization
Use the Advanced settings under Content to access settings to Improve performance and customize certain behaviors.
- In The Framework Admin Console select the Content tab.
- On the Content Management page select your SQL Content Source.
- Click the Advanced tab.

- Cache Database:
- Select an alternate cache database to use.
- Changing this setting may require a complete refresh of sync jobs and a full crawl.
- Filter Script:
- Enter the VB.NET Script to filter the items: return a boolean value.
true = add, false = skip.Sample:
if (flag = "bad") thenreturn falseelsereturn trueend if
- Enter the VB.NET Script to filter the items: return a boolean value.
- Alternate Date Replace:
- Use to override the default way date parameters are passed to SQL.
- If your database doesn't support normal date type parameters, like some Db2 systems, specify a format to do perform a replacement with.
Example:yyyy-MM-dd-HH.mm.ss.000000.
NOTE: Leave this field blank for default parameter functionality.
- Change Log Entry Format:
- Use to override the change log entry format.
- If your connector uses both SPW_ID and SPW_SUBID for uniqueness (like
IDandversion) you can force SharePoint search to check for changes on all items with just the ID by changing the value to[SPW_ID].
- Additional Changes SQL:
- Use this SQL Statement to load additional id's of items that have changed to increase crawl performance.
- This statement is ONLY called during incremental crawls.
- Parameters
- Required:
- [SPW_ID] or @S_SPW_ID (for string) or @I_SPW_ID (for integer).
- [SPW_LASTUPATE] or [SPW_LASTUPATEUTC]
- Optional:
- [SPW_SUBID] or @S_SPW_SUBID (for string)
- @I_SPW_SUBID (for integer)
Sample SQL Statement (returns a list of IDs to be indexed):
SELECT ID as SPW_ID, pid as SPW_SUBID from audittable where lastupdate > [SPW_LASTUPDATE]
- Required:
- Parameters
- Metadata Generation SQL:
- Use this SQL Statement to override the generation of metadata on the metadata page.
- This statement is ONLY called when you auto-generate the metadata.
- Columns
- Required: SPW_PROPERTY, SPW_COLUMN, SPW_COLTYPE ('T' = text, 'N' = float, 'I' = integer, 'D' = date, 'B' = boolean)
- Optional: SPW_DESC, SPW_SCRIPT, SPW_MULTIFLAG ('T','F'), SPW_MULTIINDEX
- Columns
- Metadata Generation Script:
- Enter VBScript to override the auto generation of metadata, the above SQL, if present, is executed and provided as available dataset:
HOST.GetDataSet() As DataSet HOST.AddStringMetadata(name As String,desc As String,scriptEnabled,columns As String,metascript As String) HOST.AddBooleanMetadata(name As String,desc As String,scriptEnabled,columns As
String,metascript As String)HOST.AddNumberMetadata(name As String,desc As String,scriptEnabled,columns As String,metascript As String)HOST.AddIntegerMetadata(name As String,desc As String,scriptEnabled,columns As String,metascript As String)HOST.AddDateMetadata(name As String,desc As String,scriptEnabled,columns As String,metascript As String)
- Enter VBScript to override the auto generation of metadata, the above SQL, if present, is executed and provided as available dataset:
- Script Library: Add VBScript functions to be used in all other scripts as library methods. See VB.Net Scripting
- Purge Mode Only: Check to cause incremental crawls to remove only missing items from index. No other updates are performed.
Note: This does not use the change log, so it may run slowly! - Click Save.