Class AbstractQueryMaker

    • Field Detail

      • qnum

        protected int qnum
      • queries

        protected org.apache.lucene.search.Query[] queries
      • config

        protected Config config
    • Constructor Detail

      • AbstractQueryMaker

        public AbstractQueryMaker()
    • Method Detail

      • resetInputs

        public void resetInputs()
        Description copied from interface: QueryMaker
        Reset inputs so that the test run would behave, input wise, as if it just started.
        Specified by:
        resetInputs in interface QueryMaker
      • prepareQueries

        protected abstract org.apache.lucene.search.Query[] prepareQueries()
                                                                    throws Exception
        Throws:
        Exception
      • nextQnum

        protected int nextQnum()
      • makeQuery

        public org.apache.lucene.search.Query makeQuery​(int size)
                                                 throws Exception
        Description copied from interface: QueryMaker
        Create the next query, of the given size.
        Specified by:
        makeQuery in interface QueryMaker
        Parameters:
        size - the size of the query - number of terms, etc.
        Throws:
        Exception - if cannot make the query, or if size>0 was specified but this feature is not supported.