Uses of Class
org.apache.lucene.benchmark.byTask.feeds.ContentSource
Packages that use ContentSource
Package
Description
Benchmarking Lucene By Tasks
Sources for benchmark inputs: documents and queries.
-
Uses of ContentSource in org.apache.lucene.benchmark.byTask
Methods in org.apache.lucene.benchmark.byTask that return ContentSource -
Uses of ContentSource in org.apache.lucene.benchmark.byTask.feeds
Subclasses of ContentSource in org.apache.lucene.benchmark.byTask.feedsModifier and TypeClassDescriptionclassAContentSourceusing the Dir collection for its input.classAContentSourcewhich reads the English Wikipedia dump.classAContentSourcereading one line at a time as aDocumentfrom a single file.classCreates documents whose content is alongnumber starting from.Long.MIN_VALUE+ 10classAContentSourcereading from the Reuters collection.classCreates the same document each timeSingleDocSource.getNextDocData(DocData)is called.classAdds fields appropriate for sorting: country, random_string and sort_field (int).classImplements aContentSourceover the TREC collection.Fields in org.apache.lucene.benchmark.byTask.feeds declared as ContentSourceMethods in org.apache.lucene.benchmark.byTask.feeds with parameters of type ContentSourceModifier and TypeMethodDescriptionvoidDocMaker.setConfig(Config config, ContentSource source) Set the configuration parameters of this doc maker.voidSpatialDocMaker.setConfig(Config config, ContentSource source)