Q:

solr field limit, field with "|"

I have a dynamic field: mappings_|int-color| that obviously contains "|" characters and causes this when I include it in a field limit:
<lst name="error">
  <str name="msg">Error parsing fieldname: Expected identifier at pos 0 str='|int-color|'</str>
  <int name="code">400</int>
</lst>

Is there a way to field limit (fl) fields that contain "|" characters?

A:

A colleague pointed me at this related question, which inevitably led me to try wildcard-ing the unacceptable chars.
This worked for me:
mappings_*int*color*
Granted, it catches a few extra fields, but works.

