Search Engine Studio FAQ

Question ID:
Q2003
Question:
Can Search Engine Studio automatically update a search engine when new files are added to the web site?
 
Search Engine Studio can automatically update the search engine databases (by re-indexing the documents and uploading the updated database files). In order to take advantage of this option, you will need to use the command-line parameters of the program. You will need to use an external scheduling program to execute Search Engine Studio this way. You can use, for example, the built-in scheduler program in Windows. To set it up, go to Control Panel / Scheduled Tasks / Add Scheduled Task (you'll need to remember to add paramaters explained below to the program path).

Here's how the program should be executed in the automatic mode:
SearchEngineStudio.exe <.ses document path> [option1] [option2] ...

The first parameter should be the path of the .ses (Search Engine Studio) document for which re-indexing and update should be performed. A number of other parameters (optionX) can be specified (note that the parameters listed below are for SES version 5):
  • /d -- removes all previously indexed documents
  • /r -- re-index all locations (according to settings specified in the .ses file)
  • /g -- generate output files (to local disk or by uploading to an FTP server, according to settings specified in the .ses file)
  • /q -- quiet mode; this makes the program run in the background (the UI will be invisible) and exit when all processing is finished
  • /s1, /s2, /s3 -- changes program's execution priority; /s1 will run Search Engine Studio with idle priority (so it doesn't slow down other programs) and /s3 will run it with highest priority; by default a nermal priority is used (/s2)
  • /rxml"" - takes a list of document paths from an XML file pointed by path (e.g. /rxml"c:\document-paths.xml") and removes them (see more in Help)
  • /rxsl"" - you can use this option to convert using XSLT transformation the XML specified in the rxml parameter from a different format
  • /ixml"" - re-indexes documents from an XML file pointed by path (e.g. /ixml"c:\document-paths.xml"). You can learn more about this in Help
  • /ixsl"" - you can use this option to convert using XSLT transformation the XML specified in the ixml parameter from a different format

For example, running:
SearchEngineStudio.exe c:\search\website.ses /r /q /g <enter>

will run the program, re-index all documents in the background, upload the output files to FTP server (or local / network disk) and exit.
Note that the .ses file used must already contain all the necessary options and settings (i.e. options of the indexer and output options including e.g. FTP options if uploading to an FTP server).