: Thanks for confirming my suspicions, the custom : TokenLengthMarkerFilterFactory sounds like the best approach for doing this.
that sounds like something that could be generally useful to lots of people ... by all means please open a jira issue and attach whatever you come up with for possible inclusion in lucene/solr (if you are so inclined) -Hoss