title: Windows Search - IFilter search term highlighting
body: <p>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:</p>
  
  <p><img src="https://i.stack.imgur.com/B5wO4.jpg" alt="Search example"></p>
  
  <p>The text snippet shown here with the highlighted result is not shown for our own files, only the name of the file is. </p>
  
  <p>We have implemented an IFilter for our files and this is indexing the file contents correctly (searching returns the correct results). It just wont show the snippet and highlight the search term.</p>
  
  <p>We suspected it might be something to do with the cwcStartSource, and cwcLenSource values for the STAT_CHUNK in IFilter, but setting these to different values has so far yielded nothing.</p>
  
  <p>Has anyone else had a similar experience or have any thoughts?</p>
  
  <p>Thanks in advance.</p>