> Within my custom query-component, I wish to obtain an
> instance of the analyzer for a given named field.
> Is a schema object I can access?


 public void process(ResponseBuilder rb) throws IOException {          
      
   Map<String,FieldType> map =   rb.req.getSchema().getFieldTypes();
      
   Analyzer analyzer =  map.get("myFieldName").getAnalyzer();
   Analyzer queryAnalyzer = map.get("myFieldName").getQueryAnalyzer();


      

Reply via email to