Class AbstractTermExpander

    • Constructor Detail

      • AbstractTermExpander

        public AbstractTermExpander()
    • Method Detail

      • expand

        public abstract Query expand​(Term term)
        Expands a single term.
        Parameters:
        term - a term to be expanded.
        Returns:
        the resulting query.
      • expand

        public abstract Query expand​(Prefix prefix)
        Expands a prefix.
        Parameters:
        prefix - the prefix to be expanded.
        Returns:
        the resulting query.