Searched defs:all (Results 1 - 10 of 10) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/
H A DStressRamUsageEstimator.java82 Object [] all = new Object [1000000];
83 for (int i = 0; i < all.length; i++) {
84 all[i] = new byte[random.nextInt(3)];
89 System.out.println("rue: " + RamUsageEstimator.humanReadableUnits(shallowSizeOf(all)));
91 guard = all;
94 private long shallowSizeOf(Object[] all) { argument
95 long s = RamUsageEstimator.shallowSizeOf(all);
96 for (Object o : all) {
102 private long shallowSizeOf(Object[][] all) { argument
103 long s = RamUsageEstimator.shallowSizeOf(all);
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DPatternReplaceFilter.java44 private final boolean all; field in class:PatternReplaceFilter
49 * Constructs an instance to replace either the first, or all occurances
56 * @param all if true, all matches will be replaced otherwise just the first match.
62 boolean all) {
66 this.all=all;
77 String transformed = all ? m.replaceAll(replacement) : m.replaceFirst(replacement);
59 PatternReplaceFilter(TokenStream in, Pattern p, String replacement, boolean all) argument
H A DPatternReplaceFilterFactory.java32 * replace="all"/&gt;
41 boolean all = true; field in class:PatternReplaceFilterFactory
58 if (r.equals("all")) {
59 all = true;
62 all = false;
65 ("Configuration Error: 'replace' must be 'first' or 'all' in "
73 return new PatternReplaceFilter(input, p, replacement, all);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestSearchAfter.java82 TopDocs all = searcher.search(query, filter, searcher.maxDoc());
86 while (pageStart < all.totalHits) {
91 assertPage(pageStart, all, paged);
95 assertEquals(all.scoreDocs.length, pageStart);
98 static void assertPage(int pageStart, TopDocs all, TopDocs paged) { argument
99 assertEquals(all.totalHits, paged.totalHits);
101 assertEquals(all.scoreDocs[pageStart + i].doc, paged.scoreDocs[i].doc);
102 assertEquals(all.scoreDocs[pageStart + i].score, paged.scoreDocs[i].score, 0f);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestSearchAfter.java76 TopDocs all = searcher.search(query, filter, searcher.maxDoc());
80 while (pageStart < all.totalHits) {
85 assertPage(pageStart, all, paged);
89 assertEquals(all.scoreDocs.length, pageStart);
92 static void assertPage(int pageStart, TopDocs all, TopDocs paged) { argument
93 assertEquals(all.totalHits, paged.totalHits);
95 assertEquals(all.scoreDocs[pageStart + i].doc, paged.scoreDocs[i].doc);
96 assertEquals(all.scoreDocs[pageStart + i].score, paged.scoreDocs[i].score, 0f);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/
H A DDocHelper.java124 // ordered list of all the fields...
143 public static Map<String,Fieldable> all =new HashMap<String,Fieldable>(); field in class:DocHelper
173 add(all,f);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/
H A DDocHelper.java124 // ordered list of all the fields...
143 public static Map<String,Fieldable> all =new HashMap<String,Fieldable>(); field in class:DocHelper
173 add(all,f);
/lucene-3.6.0/lucene/site/build/site/skin/
H A Dprototype.js201 all: function(iterator) {
600 var children = document.getElementsByTagName('*') || document.all;
/lucene-3.6.0/lucene/site/src/documentation/skins/common/scripts/
H A Dprototype.js201 all: function(iterator) {
600 var children = document.getElementsByTagName('*') || document.all;
/lucene-3.6.0/solr/client/ruby/flare/public/javascripts/
H A Dprototype.js346 all: function(iterator) {
1271 if (document.all && !window.opera) {
1540 if (document.all && !window.opera){

Completed in 495 milliseconds