fix typo: Samping -> Sampling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419123 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-12-09 20:06:38 +00:00
parent 4a8408ceea
commit e8ec44a923
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -145,7 +145,7 @@ public abstract class BaseSampleTestTopK extends BaseTestTopK {
samplingParams.setMaxSampleSize((int) (10000 * retryFactor));
samplingParams.setOversampleFactor(5.0 * retryFactor);
samplingParams.setSampingThreshold(11000); //force sampling
samplingParams.setSamplingThreshold(11000); //force sampling
Sampler sampler = useRandomSampler ?
new RandomSampler(samplingParams, new Random(random().nextLong())) :
new RepeatableSampler(samplingParams);

View File

@ -77,7 +77,7 @@ public class OversampleWithDepthTest extends LuceneTestCase {
params.setMinSampleSize(2);
params.setMaxSampleSize(50);
params.setOversampleFactor(5);
params.setSampingThreshold(60);
params.setSamplingThreshold(60);
params.setSampleRatio(0.1);
FacetResult res = searchWithFacets(r, tr, fsp, params);