I've written a macro plugin which produces a report based on searching for labels; this works fine in the SDK environment. Having deployed it to our server, it returns no results.
Investigation shows that label searching is apparently not working at all on this installation, e.g. putting labelText:somelabel into the search box gives no results even though there are pages with that label. Going to Browse -> labels shows the label 'somelabel' but clicking on it gets a response that no pages are using it.
I have tried flushing the cache and rebuilding the search index. Normal text search works OK.
Does anyone have any idea what the problem might be?
Steve