I’m writing some custom filters in java and am trying to figure out if it’s possible to get the string output from running another fieldTypes analysis chain.
I get an IndexSchema in the FieldType.init that I can hang onto, and thought that maybe in my toInternal or createField I might be able to do, essentially, index_representation =schema.getFieldType("fieldName") .getIndexAnalyzer() .normalize("fieldName", "text_to_normalize"). But I can’t seem to get an analyzer out of this other than the DefaultAnalyzer, nothing specific to the fieldType I’m trying to reference. I don’t want to give the impression I know what I’m doing — I’m more of a cut-and-paste programmer when it comes to solr and really don’t have a good mental model of what’s going on in there — but hope someone out there can either tell me how to do it or laugh quietly and tell me why it can’t be done. -- Bill Dueber Library Systems Programmer University of Michigan Library