I want to be able to index Fogbugz cases and make full-text search on them from inside a plugin.
My first idea was to make my own index and query it using Lucene.Net. However it looks like plugins are forbidden to write to file system and therefore I can't store search index on disk.
Then I had an idea to use internal Fogbugz search programmatically but the only function in the API that looked appropriate was CPluginApi.Bug.SearchBugs(). When I tried several searches with it it always returned all the cases including the ones that were absolutely irrelevant. Moreover the cases went in the same order as always so the results were not ranked at all. Am I doing something wrong here?
Has anybody solved a similar problem before? Any idea is highly appreciated.