Windows Search(former Indexing Service, up to Windows Vista), also known as Windows Desktop Search, is the Windows service that indexes files on the user's hard drive.
Questions tagged [windows-search]
107 questions
20
votes
1 answer
Full-text search using Windows Search Service and SQL Server 2008 R2
Currently I'm trying to query the Windows Search Service from a SQL Server 2008 R2 instance (also tested on SQL Server 2012) . Windows Search is being exposed as an OLE DB datasource, giving me several options to query the search index. When…

Andrew Hartman
- 329
- 2
- 7
19
votes
2 answers
Windows search - full text search in c#
I am looking for a code that gets results of full text search using Windows search (it should be available in Vista, 7 and 8 by default).
I have found some questions here and some texts on msdn, but none of them have some exact code that works. I…

Ivan Ičin
- 9,672
- 5
- 36
- 57
11
votes
2 answers
Windows Search - Is there a better way?
I have a requirement to search file in a given location for specified content. These files will be searched via a web-application (which may not necessarily be on the same server), and should update in near realtime.
After looking around for…

Obsidian Phoenix
- 4,083
- 1
- 22
- 60
9
votes
1 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…

Jamie
- 3,150
- 2
- 26
- 35
9
votes
1 answer
How to use Windows Search Service in c#
I'm working on an application, an user can search for files or folders either on the local computer or on the network. I am using DirectoryInfo.GetDirecotories().
But I also want to add the functionality that windows 7 uses for searching, I believe…
user4031277
9
votes
1 answer
Modify Windows 7 Start menu search algorithm?
I really like the fuzzy matching search algorithm that Sublime Text 2 uses for its command palette and I was hoping to create something similar that runs through the Windows 7 Start menu search.
I already found the Windows API Code Pack for .NET…

Joshua Sleeper
- 107
- 1
- 7
7
votes
1 answer
How do I write a custom search provider for Windows Explorer search UI
I am working on a Windows Explorer Namespace Extension which is a virtual filesystem. With regards to this, I would like to support search from the search dialog available in Windows Explorer.
Currently I'm able to search by name in the folder I'm…

tronda
- 3,902
- 4
- 33
- 55
6
votes
4 answers
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…

OscarRyz
- 196,001
- 113
- 385
- 569
6
votes
2 answers
Is there a way to ignore Windows search indexing for certain patterns?
Is there a way to ignore Windows search indexing for certain patterns?
For example, I would like to skip the following folders:
C:\Git**.git\
C:\Git**\packages\
C:\misc\git**.git\
C:\misc\git**\packages\
These cause thousands of extra noise matches…

Penny
- 347
- 4
- 12
6
votes
2 answers
How to add a location to windows 7/8 search index using batch or vbscript?
I'm trying to add a location (scope) to my Windows 8 Search Index programmatically, and after some googling, I found this code:
Set objISAdm = CreateObject("Microsoft.ISAdm")
Set objCatalog = objISAdm. GetCatalogByName("MyCatatlog")
Set objScope=…

user24442
- 161
- 1
- 5
5
votes
0 answers
Querying the Microsoft Search Index using Python
I am trying to find a way to run an SQL query on the Windows Search Index.
This is possible quite easily using .NET or Powershell, but no matter what I do, I can't seem to make it work in Python.
I tried using PyODBC and riding on the JET4 driver,…

Shimon Elbaz
- 51
- 3
5
votes
1 answer
Can't query SystemIndex on my own machine when I specify the machine name
I'm trying to write a simple program that would connect to remote machines and query the indexing status.
Here's the code that does it on my machine. This works OK.
using System;
using Microsoft.Search.Interop;
namespace IndexStatus
{
class…

Michał Masny
- 229
- 3
- 19
5
votes
1 answer
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…

KenD
- 5,280
- 7
- 48
- 85
5
votes
1 answer
How to add folder into windows indexing list with windows search api
In Indexing Options, there’s a list of locations in ‘Index these locations’, is there a way to add a folder which created from my app into the list through c#?

Allen4Tech
- 2,094
- 3
- 26
- 66
5
votes
1 answer
Windows 8.1 In-App Search Control AND Search Pane (Search Charm)?
I'm trying to use the new 8.1 SearchBox Control in WinJS, but if I already have a Search Contract bound to my app for the Search Charm, I get an access denied error:
Can't hide this app in the search pane because the app has already accessed the…

Pam
- 347
- 4
- 11