Query string query doesn't work when field has customer analyzer

I believe this is because by default the query_string query (which is invoked when you do a URI search) searches on the _all field by default, which won't have your custom analyzer applied to it. Where you explicitly search against the Path field (i.e. q=Path:bar) work correctly, for all other searches all bets are off.