org.apache.lucene.benchmark.byTask.feeds
Class SimpleSloppyPhraseQueryMaker

java.lang.Object
  extended byorg.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
      extended byorg.apache.lucene.benchmark.byTask.feeds.SimpleSloppyPhraseQueryMaker
All Implemented Interfaces:
QueryMaker

public class SimpleSloppyPhraseQueryMaker
extends SimpleQueryMaker

Create sloppy phrase queries for performance test, in an index created using simple doc maker.


Constructor Summary
SimpleSloppyPhraseQueryMaker()
           
 
Method Summary
protected  Query[] prepareQueries()
          Prepare the queries for this test.
 
Methods inherited from class org.apache.lucene.benchmark.byTask.feeds.SimpleQueryMaker
makeQuery, makeQuery, printQueries, resetInputs, setConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSloppyPhraseQueryMaker

public SimpleSloppyPhraseQueryMaker()
Method Detail

prepareQueries

protected Query[] prepareQueries()
                          throws Exception
Description copied from class: SimpleQueryMaker
Prepare the queries for this test. Extending classes can overide this method for preparing different queries.

Overrides:
prepareQueries in class SimpleQueryMaker
Returns:
prepared queries.
Throws:
Exception - if canot prepare the queries.


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.