Class JexlExchange

    • Constructor Detail

      • JexlExchange

        public JexlExchange()
    • Method Detail

      • open

        public void open​(Map<String,​String> parameters)
        Initializes the internal variables.
        Specified by:
        open in interface Exchange
        Parameters:
        parameters - Params from the exchange configuration.
      • match

        public boolean match​(NutchDocument doc)
        Determines if the document must go to the related index writers.
        Specified by:
        match in interface Exchange
        Parameters:
        doc - The given document.
        Returns:
        True if the given document match with this exchange. False in other case.