Questions tagged [windows-search]

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.

107 questions
1
vote
1 answer

C# definition for IStemmer interface from Windows Search

Can anyone help me with translating COM IStemmer interface definition to C# or suggest tool to do that? I searched in Google and at pinvoke.net and was unable to find C# signatures. The interface definition is the following: interface IStemmer { …
1
vote
1 answer

How to search Windows Search Indexed in file

I have files indexed by the Windows Search service. I need function, which can find some string in text files. I have script in PowerShell, but it didn't work fine. function search { param($path, $word) $c = $path + "\%" $query =…
Z. Cz.
  • 29
  • 3
1
vote
1 answer

Windows Search Service: Getting Text snips

Using Windows Search Service I query and get documents' meta data like ItemName. Is there a way to get a text snip of the text that was found so I can show context to the user? string connectionString =…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
1
vote
1 answer

Using search-ms: or search: protocols to retrieve search results as an IShellItem

I'm trying to retrieve global file search results in Windows but the Windows Search documentation is incredibly complex and I would rather not deal with SQL for such simple functionality. Is it possible to get the search results displayed in Windows…
Meow
  • 178
  • 2
  • 7
1
vote
0 answers

Windows Search / Shell API - System.ItemUrl data

When I use the Windows Search API, I get results including the Shell API System.ItemUrl. Since the Search API includes files emails (mapi15) IE history etc., the ItemUrl can be of any of these (and more). Is there a way to fetch the contents or…
SRobertJames
  • 8,210
  • 14
  • 60
  • 107
1
vote
0 answers

How does Explorer enumerate Windows Search results?

I'm trying to understand how Windows Explorer displays Search results. From my experience (Windows 7), for regular folders (and namespace extensions) it seems to call IShellFolder->EnumObjects. I also know of the IEnumShellItems interface. I did…
Barracuda
  • 101
  • 6
1
vote
0 answers

Search for custom properties in TIFF files with Windows Search

I would like to extend the Windows Search. It should be able to search for some custom properties in TIFF files. Is it generally possible to extend the default implementation of the corresponding IPropertyStore or IFilter?
Michael Damatov
  • 15,253
  • 10
  • 46
  • 71
1
vote
2 answers

Error running windows search query on remote machine from C#

When I try to execute the following OLEDB command to programmatically query a search index on a remote machine (ALEC-HP) on the same domain I get the following error message Unspecified error: -2147219688(0x80040718) On the local machine the…
SimonKravis
  • 553
  • 1
  • 3
  • 24
1
vote
1 answer

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…
Greg Bishop
  • 517
  • 1
  • 5
  • 16
1
vote
1 answer

Registering Sample Property Handler

So I built the RecipePropertyHandler from the Windows 7 SDK samples, ran regsvr32, and registered my PROPDESC file. This gives me the ability to edit a custom property named Difficulty on files of type .recipe, with a three-state dropdown box in the…
Jay Carlton
  • 1,118
  • 1
  • 11
  • 27
1
vote
1 answer

Is there a published XML Schema Definition for PROPDESC files?

In the MSDN documentation, I see fragments that look like XSD for the PROPDESC files for things like propertyDescriptionList attributes. Is the whole schema definition somewhere so I can validate my .propdesc file? Here's the sample propdesc file…
Jay Carlton
  • 1,118
  • 1
  • 11
  • 27
1
vote
0 answers

Replacement for Indexing service on Windows 2012 server

Our company have 2 current website is hosted on a windows server 2003. The web sites are built in Classic ASP and use a MSIDXS provider to connect to a particular data source/indexing service catalogue (one for each website) and display the results…
1
vote
1 answer

get OLE properties using IFilter C++

I've been using IFilter COM Object in order to extract text from files. I've managed to extract the OLE properties values (such as Author's Value, Company's Value etc.), but i could not figure out how to know which value is the Author, Company and…
user1612927
  • 95
  • 1
  • 5
1
vote
0 answers

How to make Windows Search work with custom HTML META tags?

Using Windows Search on Win2008. I'm searching programmatically, using Microsoft.Search.Interop (CSearchQueryHelper, etc). I have existing html files that include META tags in the header: I need to be able to…
1
vote
1 answer

SystemIndex Catlog Query is not searching the content of a document

I have below query for searching the local system for the given search term. The below query is only searching the given search term in the file title and not from the content of the file. It is only searching content of a file from a .txt document…