title: How can I force Spotlight to index my application's plain text files in the user's ~/Library/Application Support directory?
body: <p>I have a directory of plain text files in ~/Library/Application Support/MyApp/Spotlight/. I understand that Spotlight stopped indexing the Library in 10.5, but is there a way to force Spotlight to include a single sub-directory in its index?</p>
  
  <p>I've tried wrapping mdimport in an NSTask, and the debug output says that the file has been imported, but it does not show up in Spotlight results.</p>
  
  <p><a href="https://stackoverflow.com/users/25646/bbum">@bbum's</a> answer <a href="https://stackoverflow.com/questions/2564549/using-spotlight-as-the-database-of-an-application">here</a> leads me to believe this should be trivial, but I'm at a loss.</p>
  
  <p>Any help or pointers are greatly appreciated.</p>
  
  <p>Thanks.</p>