fix typo: samping -> sampling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-12-07 19:10:59 +00:00
parent 927531255d
commit c41f9b33cb
4 changed files with 6 additions and 6 deletions

View File

@ -125,8 +125,8 @@ public class SamplingParams {
* Set a sampling-threshold
* @see #getSamplingThreshold()
*/
public void setSampingThreshold(int sampingThreshold) {
this.samplingThreshold = sampingThreshold;
public void setSampingThreshold(int samplingThreshold) {
this.samplingThreshold = samplingThreshold;
}
/**

View File

@ -30,7 +30,7 @@ import org.apache.lucene.facet.taxonomy.writercache.cl2o.Cl2oTaxonomyWriterCache
import org.apache.lucene.facet.taxonomy.writercache.lru.LruTaxonomyWriterCache;
import org.apache.lucene.index.AtomicReader;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.CorruptIndexException; // javadocs
import org.apache.lucene.index.DirectoryReader;
import org.apache.lucene.index.DocsEnum;
import org.apache.lucene.index.IndexReader;
@ -45,7 +45,7 @@ import org.apache.lucene.index.TermsEnum;
import org.apache.lucene.index.TieredMergePolicy;
import org.apache.lucene.store.AlreadyClosedException;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.LockObtainFailedException;
import org.apache.lucene.store.LockObtainFailedException; // javadocs
import org.apache.lucene.store.NativeFSLockFactory;
import org.apache.lucene.store.SimpleFSLockFactory;
import org.apache.lucene.util.BytesRef;

View File

@ -68,7 +68,7 @@ public abstract class BaseSampleTestTopK extends BaseTestTopK {
* Lots of randomly generated data is being indexed, and later on a "90% docs" faceted search
* is performed. The results are compared to non-sampled ones.
*/
public void testCountUsingSamping() throws Exception {
public void testCountUsingSampling() throws Exception {
boolean useRandomSampler = random().nextBoolean();
for (int partitionSize : partitionSizes) {
try {

View File

@ -52,7 +52,7 @@ import org.junit.Test;
public class OversampleWithDepthTest extends LuceneTestCase {
@Test
public void testCountWithdepthUsingSamping() throws Exception, IOException {
public void testCountWithdepthUsingSampling() throws Exception, IOException {
Directory indexDir = newDirectory();
Directory taxoDir = newDirectory();