sequence/xjoin/src/main/java/org/apache/solr/search/xjoin/XJoinQParserPlugin.java
// transformer from Object to BytesRef (using the given FieldType)
transformer from Object to BytesRef (using the given FieldType)
transformer from Object to BytesRef ( using the given FieldType )
static private Transformer transformer(final FieldType ft) {
    return new Transformer() {
      BytesRefBuilder term = new BytesRefBuilder();
      @Override
      public BytesRef transform(Object joinId) {
        String joinStr = joinId.toString();
        if (ft != null) {
          ft.readableToIndexed(joinStr, term);
        } else {
          term.copyChars(joinStr);
        }
        return term.toBytesRef();
      }
    };
  }
static private Transformer transformer ( final FieldType ft ) { return new Transformer ( ) { BytesRefBuilder term = new BytesRefBuilder ( ) ; @ Override public BytesRef transform ( Object joinId ) { String joinStr = joinId . toString ( ) ; if ( ft != null ) { ft . readableToIndexed ( joinStr , term ) ; } else { term . copyChars ( joinStr ) ; } return term . toBytesRef ( ) ; } } ; }
transformer from Object to BytesRef (using the given FieldType)
transformer from Object to BytesRef ( using the given FieldType )
// logic same as TermQParserPlugin