My schedule is enabled (to run every 30 mins):
DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE |
![Enabled Enabled](http://192.168.0.2/development/images/checked.gif) |
Every 30 Minutes |
the site suggests this:
------------------------------------------------------------------------------------------------------------------------
- Copy the following 4 lines and paste them into the text box:
truncate table {databaseOwner}{objectQualifier}SearchItemWordPosition
DELETE {databaseOwner}{objectQualifier}SearchItemWord
DELETE {databaseOwner}{objectQualifier}SearchWord
DELETE {databaseOwner}{objectQualifier}SearchItem
- Activate the check box and hit Run
- The search index will be rebuilt automatically by the scheduler.
------------------------------------------------------------------------------------------------------------------------
But I get errors:
sorry, I'm not too familair with the code - is it the curly brackets { } causing the error?
System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '{'. Line 2: Incorrect syntax near '}'. Line 3: Incorrect syntax near '}'. Line 4: Incorrect syntax near '}'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)
truncate table.....
Should these {brackets} not be inserted?
Should I insert something esle in place of 'objectQualifier?
thanks,
mark.