windows-search

Query Windows Search from Java

I would like to get to query Windows Vista Search service directly ( or indirectly ) from Java. I know it is possible to query using the search-ms: protocol, but I would like to consume the result within the app. I have found good information in the Windows Search API but none related to Java. I would mark as accepted the answer tha...

IIS anonymous authentication issue in Windows Search Server

Hello everyone, I am setting up Windows Search Server Express on Windows Server 2008. Here is Windows Search Server Express information. By default, it is using Windows authentication which needs server local Windows user name and account when access the search service from a remote machine. http://www.microsoft.com/enterprisesearch/se...

How to start/stop/pause the windows search indexer

I'd like to determine how to programatically start/stop/pause the indexer from Microsoft Search. I know it is possible because I've seen it done in programs like this one: http://brandontools.com/files/folders/sidebar%5Fgadgets/entry511.aspx However, I cannot find any docs on MSDN or anywhere. There is a "Windows Search" service which...

Windows Desktop Search - Force re-index / index now from command line.

I'm working on a project where we're using Windows Desktop Search (WDS) to index files on a web share and then later allow the user to search via a website for documents in the share. These documents are transferred to the share via FTP, however it would seem that either the computer never goes idle to index or at some point the indexin...

Tracking "Windows Search" Queries

I can enable logging for Windows Search through the registry (see below), but this only captures queries sent through the default user-interface for Windows Search. I want to capture queries used by Outlook 2003, Outlook 2007, OneNote 2007 or any other application that accesses the SystemIndex. HKEY_CURRENT_USER\Software\Microsoft\Windo...

Cannot WriteXML for DataTable because Windows Search Returns String Array for Authors Property

The System.Author Windows property is a multiple value string. Windows Search returns this value as an array of strings in a DataColumn. (The column's data-type is string[] or String().) When I call the WriteXML method on the resulting data-table, I get the following InvalidOperationException exception. Is there a way to specify the da...

ASP.NET OLEDB code breaks when deployed on IIS7

I'm trying to write a simple website (ASP.NET v4), which will call Windows Search, find a specific file and return it to the user. I've put together the following as an example: it calls the Windows Search service on "remoteserver", and returns the path of "somefile.txt": OleDbConnection conn = new OleDbConnection(); conn.ConnectionStr...

Windows Search 4 Query - Delphi Example

The following web page describes querying Windows Search programmatically: http://msdn.microsoft.com/en-us/library/aa965362.aspx Does anyone have examples using Delphi/Pascal? Examples I have in mind are fairly simple: Search for certain file types. Search for specific text within files. Limit these above searches to a certain path....

Access Windows Search index using ASP.NET MVC

I'm on a project that is being upgraded from vbscript to ASP.NET MVC. It used Microsoft Index Server to index Word and PDF files on a Windows Server 2003 machine. It simply opened an OleDbConnection using a connection string like "Provider=\"MSIDXS\";Data Source=\"docSearch\";". After researching a bit, I learned that Index Server is ob...

Windows 2008 R2:Files in Windows Search Results are not able to be deleted

As title says, I am searching .eml files in some dir with keywords, the .eml files'content are indexed. Listing the results, I click mouse right button, no delete choice. How can I delete files from windows search result ? ( I tried it on my laptop running Windows 7 Ultimate, it works fine) Anyone could tell the answer ? ...

Windows Search - IFilter search term highlighting

My development team are having a problem having snippets of text shown for search results in windows 7 for our own custom files (note we are NOT talking about the preview pane that uses the IPreviewHandler interface). An example of what I mean for .txt files is shown below: The text snippet shown here with the highlighted result is no...

Is there a way to create my own index with Windows Search?

I have an application which store files (mostly Office documents) in various distant locations. I want my users to be able to search for these files based on some criteria on its own machine. I though I could use Windows Search to create an index. I've had that idea because a few years ago and to search for email in Outlook, I had to ins...