Problem: Managed Properties using “-” (minus) character
This one had me for a couple of hours …
Using MOSS 2007 my custom search results Web Part kept acting weird if I used facets to refine using Managed Properties. I could do refinements on the standard properties like Title or Author (Author:”JohnD”), but all non-standard properties didn’t seem to work. After some debugging I found out, that all the failing property names contained a “-” character (i.e. CustomerName-PropertyName).
Quite embarrassing, yes, but another lesson learned!
Update: fellow SharePoint fan Jan Tanis (@JanTanis) found out that you should also avoid periods (“.”) in Managed Property names.