Interface MACFACQuery

  • All Superinterfaces:
    Query
    All Known Implementing Classes:
    MACFACQueryImpl

    public interface MACFACQuery
    extends Query
    A MACFAC query needs additional parameters compared to a standard retrieval query.
    • Field Detail

      • DEFAULT_FILTER_SIZE

        static final int DEFAULT_FILTER_SIZE
        The default value for the number of items, which should be communicated between MAC and FAC stage. Value is 10.
        See Also:
        Constant Field Values
      • DEFAULT_MIN_MAC_SIMILARITY

        static final double DEFAULT_MIN_MAC_SIMILARITY
        The default value for the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase. Value is 0.0.
        See Also:
        Constant Field Values
    • Method Detail

      • getFilterSize

        int getFilterSize()
        Gets the current set number of items, which should be communicated between MAC and FAC stage.
      • setFilterSize

        void setFilterSize​(int size)
        Sets the number of items, which should be communicated between MAC and FAC stage.
      • getMinMACSimilarity

        double getMinMACSimilarity()
        Gets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.
        Returns:
        the minimum MAC similarity
      • setMinMACSimilarity

        void setMinMACSimilarity​(double minMACSimilarity)
        Sets the minimum similarity that a result from the MAC phase has to have in order to be used for FAC phase.
        Parameters:
        minMACSimilarity - the minimum MAC similarity
      • setFacQuery

        void setFacQuery​(Query facQuery)
        Sets the FAC-query of the MACFAC-query
        Parameters:
        facQuery - using FAC-query
      • getFacQuery

        Query getFacQuery()
        Returns the FAC-query if a FAC-query was set before