org.apache.lucene.queryparser.flexible.core.config

Class QueryConfigHandler

    • Method Detail

      • getFieldConfig

        public FieldConfig getFieldConfig(String fieldName)
        Returns an implementation of FieldConfig for a specific field name. If the implemented QueryConfigHandler does not know a specific field name, it may return null, indicating there is no configuration for that field.
        Parameters:
        fieldName - the field name
        Returns:
        a FieldConfig object containing the field name configuration or null, if the implemented QueryConfigHandler has no configuration for that field
      • addFieldConfigListener

        public void addFieldConfigListener(FieldConfigListener listener)
        Adds a listener. The added listeners are called in the order they are added.
        Parameters:
        listener - the listener to be added