About index and preview of WDS
The first, I want to start the msn index process with index path explicitly in my application. Are there any command lines or APIs and so on to do this?
The second, when I searched a file like “a.doc”, and previewed it. Then I delete “a.doc” in some ways, and search “a.doc” in WDS, the “a.doc” file still can be list in WDS and preview can be read also before WDS do a next index. How can I remove preview or index item of a deleted file?
[686 byte] By [
awt_8] at [2008-2-15]
I'm not sure exactly what you mean by your first question. Are you planning to deploy WDS with your application and you want to set up the default directories to be indexed?
If so, functionality for programmatically changing the paths to crawl is not supported in the current release. However we're aware of the desire for this functionality.
As for your second question...
When a file is deleted from the system (on an NTFS partition or network share) the Indexer will be notified and it will add that item to its queue of items to be indexed.
If you enable "Index Now" by right-clicking on the tray-icon and clicking "Index Now" or "Indexing Status" (to bring up the status dialog, which has an "Index Now" button), it will immediately process any changes in the queue.
If you enable the "prioritize indexing" setting in the Desktop Search Options dialog, it will always process notifications immediately as they come in.