title: No results in Spotlight in searches against kMDItemPath
body: <p>I am trying to create a Spotlight query that searches for a string in the path of a file (I would like it to match in either the name of the file or the name of any of the folders is contained in).</p>
  
  <pre><code>NSPredicate *predicateTemplate = [NSPredicate predicateWithFormat: @"kMDItemPath like[wcd] $SEARCH";
  [query setPredicate: 
      [predicateTemplate predicateWithSubstitutionVariables:
          [NSDictionary dictionaryWithObject:searchingFor forKey:@"SEARCH"]
      ]
  ];
  [query startQuery];
  </code></pre>
  
  <p>This always returns 0 results, even if the following one:</p>
  
  <pre><code>NSPredicate *predicateTemplate = [NSPredicate predicateWithFormat: @"kMDItemDisplayName in[wcd] $SEARCH";
  </code></pre>
  
  <p>returns 1 or more results. I am testing this on MacOS X 10.5.8.</p>