/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestRollingUpdates.java | 110 final int num; field in class:TestRollingUpdates.IndexingThread 112 public IndexingThread(LineFileDocs docs, IndexWriter writer, int num) { argument 116 this.num = num; 122 for (int i = 0; i < num; i++) {
|
H A D | TestTermdocPerf.java | 40 private int num; field in class:RepeatingTokenStream 55 num--; 56 if (num >= 0) { 68 num = random.nextInt(maxTF) + 1; 70 num = 0;
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestRollingUpdates.java | 110 final int num; field in class:TestRollingUpdates.IndexingThread 112 public IndexingThread(LineFileDocs docs, IndexWriter writer, int num) { argument 116 this.num = num; 122 for (int i = 0; i < num; i++) {
|
H A D | TestTermdocPerf.java | 39 private int num; field in class:RepeatingTokenStream 53 num--; 54 if (num >= 0) { 66 num = random.nextInt(maxTF) + 1; 68 num = 0;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SortSpec.java | 30 int num; field in class:SortSpec 33 public SortSpec(Sort sort, int num) { argument 34 this(sort,0,num); 37 public SortSpec(Sort sort, int offset, int num) { argument 40 this.num=num; 76 public int getCount() { return num; } 80 return "start="+offset+ "&rows="+num + (sort==null ? "" : "&sort="+sort);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/params/ |
H A D | CountFacetRequest.java | 40 * @param num number of child categories for which count info is requeted. 45 public CountFacetRequest(CategoryPath path, int num) { argument 46 super(path, num);
|
H A D | ScoreFacetRequest.java | 36 public ScoreFacetRequest(CategoryPath path, int num) { argument 37 super(path, num);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/params/association/ |
H A D | AssociationFloatSumFacetRequest.java | 43 public AssociationFloatSumFacetRequest(CategoryPath path, int num) { argument 44 super(path, num);
|
H A D | AssociationIntSumFacetRequest.java | 43 public AssociationIntSumFacetRequest(CategoryPath path, int num) { argument 44 super(path, num);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | RecyclingByteBlockAllocator.java | 139 * @param num 143 public synchronized int freeBlocks(int num) { argument 144 assert num >= 0; 147 if (num > freeBlocks) { 151 stop = freeBlocks - num; 152 count = num;
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | ThreadedEntityProcessorWrapper.java | 51 int num) { 56 this.number = num; 47 ThreadedEntityProcessorWrapper(EntityProcessor delegate, DocBuilder docBuilder, DocBuilder.EntityRunner entityRunner, VariableResolverImpl resolver, Map<DataConfig.Entity ,DocBuilder.EntityRunner> childrenRunners, int num) argument
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/ |
H A D | FSTCompletionLookup.java | 236 public List<LookupResult> lookup(CharSequence key, boolean higherWeightsFirst, int num) { argument 239 completions = higherWeightsCompletion.lookup(key, num); 241 completions = normalCompletion.lookup(key, num);
|
H A D | FSTCompletion.java | 198 * @param num 203 public List<Completion> lookup(CharSequence key, int num) { argument 216 return lookupSortedAlphabetically(keyUtf8, num); 218 return lookupSortedByWeight(keyUtf8, num, false); 231 private List<Completion> lookupSortedAlphabetically(BytesRef key, int num) argument 233 // Greedily get num results from each weight branch. 234 List<Completion> res = lookupSortedByWeight(key, num, true); 238 if (res.size() > num) { 239 res = res.subList(0, num); 249 * <code>num</cod 253 lookupSortedByWeight(BytesRef key, int num, boolean collectAll) argument 352 collect(List<Completion> res, int num, int bucket, BytesRef output, Arc<Object> arc) argument [all...] |
H A D | WFSTCompletionLookup.java | 146 public List<LookupResult> lookup(CharSequence key, boolean onlyMorePopular, int num) { argument 147 assert num > 0; 162 List<LookupResult> results = new ArrayList<LookupResult>(num); 168 if (--num == 0) { 176 completions = Util.shortestPaths(fst, arc, weightComparator, num);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestMultiThreadTermVectors.java | 178 private void verifyVectors(TermFreqVector[] vectors, int num) { argument 188 if (!English.intToEnglish(num).trim().equals(temp.toString().trim()))
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestMultiThreadTermVectors.java | 178 private void verifyVectors(TermFreqVector[] vectors, int num) { argument 188 if (!English.intToEnglish(num).trim().equals(temp.toString().trim()))
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/sampling/ |
H A D | Sampler.java | 203 public OverSampledFacetRequest(FacetRequest orig, int num) { argument 204 super(orig.getCategoryPath(), num);
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/ |
H A D | Lookup.java | 139 * @param num maximum number of results to return 142 public abstract List<LookupResult> lookup(CharSequence key, boolean onlyMorePopular, int num); argument
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/jaspell/ |
H A D | JaspellLookup.java | 76 public List<LookupResult> lookup(CharSequence key, boolean onlyMorePopular, int num) { argument 79 int count = onlyMorePopular ? num * 2 : num; 89 int maxCnt = Math.min(num, list.size()); 91 LookupPriorityQueue queue = new LookupPriorityQueue(num);
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/tst/ |
H A D | TSTLookup.java | 95 public List<LookupResult> lookup(CharSequence key, boolean onlyMorePopular, int num) { argument 101 int maxCnt = Math.min(num, list.size()); 103 LookupPriorityQueue queue = new LookupPriorityQueue(num);
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/ |
H A D | LookupBenchmarkTest.java | 58 private final int num = 7; field in class:LookupBenchmarkTest 159 runPerformanceTest(minPrefixLen, maxPrefixLen, num, onlyMorePopular); 168 runPerformanceTest(minPrefixLen, maxPrefixLen, num, onlyMorePopular); 177 runPerformanceTest(minPrefixLen, maxPrefixLen, num, onlyMorePopular); 184 final int num, final boolean onlyMorePopular) throws Exception { 186 "-- prefixes: %d-%d, num: %d, onlyMorePopular: %s", 187 minPrefixLen, maxPrefixLen, num, onlyMorePopular)); 202 v += lookup.lookup(term, onlyMorePopular, num).size(); 183 runPerformanceTest(final int minPrefixLen, final int maxPrefixLen, final int num, final boolean onlyMorePopular) argument
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/ |
H A D | OpenStringBuilder.java | 97 public void reserve(int num) { argument 98 if (len + num > buf.length) resize(len + num);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | TermsComponent.java | 383 fieldterms.add(tc.getTerm(), num(tc.getFrequency())); 399 private Number num(long val) { method in class:TermsComponent.TermsHelper
|
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/params/ |
H A D | MultiIteratorsPerCLParamsTest.java | 159 assertEquals("wrong num-descendants for dimension " + dimension[i], 187 public PerDimCountFacetRequest(CategoryPath path, int num) { argument 188 super(path, num);
|
/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/ |
H A D | TestRemoteSort.java | 119 public String getRandomNumberString(int num, int low, int high) { argument 121 for (int i = 0; i < num; i++) { 127 public String getRandomCharString(int num) { argument 128 return getRandomCharString(num, 48, 122); 131 public String getRandomCharString(int num, int start, int end) { argument 133 for (int i = 0; i < num; i++) {
|