Searched refs:base (Results 1 - 25 of 83) sorted by relevance

1234

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestTerm.java25 final Term base = new Term("same", "same");
30 assertEquals(base, base);
31 assertEquals(base, same);
32 assertFalse(base.equals(differentField));
33 assertFalse(base.equals(differentText));
34 assertFalse(base.equals(differentType));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestTerm.java25 final Term base = new Term("same", "same");
30 assertEquals(base, base);
31 assertEquals(base, same);
32 assertFalse(base.equals(differentField));
33 assertFalse(base.equals(differentText));
34 assertFalse(base.equals(differentType));
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/packed/
H A DPacked32.java61 int base = bitPos * FAC_BITPOS;
62 currentShifts[base ] = bitPos;
63 currentShifts[base + 1] = BLOCK_SIZE - elementBits;
65 currentShifts[base + 2] = 0;
69 currentShifts[base + 2] = BLOCK_SIZE - rBits;
87 int base = bitPos * FAC_BITPOS;
88 currentMasks[base ] =~((elementPosMask
89 << currentShifts[base + 1])
90 >>> currentShifts[base]);
92 currentMasks[base
[all...]
H A DPacked64.java62 int base = bitPos * FAC_BITPOS;
63 currentShifts[base ] = bitPos;
64 currentShifts[base + 1] = BLOCK_SIZE - elementBits;
66 currentShifts[base + 2] = 0;
70 currentShifts[base + 2] = BLOCK_SIZE - rBits;
88 int base = bitPos * FAC_BITPOS;
89 currentMasks[base ] =~((elementPosMask
90 << currentShifts[base + 1])
91 >>> currentShifts[base]);
93 currentMasks[base
[all...]
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/util/
H A DExternalPaths.java50 File base = file.getAbsoluteFile();
51 while (!new File(base, "solr/CHANGES.txt").exists()) {
52 base = base.getParentFile();
54 return new File(base, "solr/").getAbsolutePath();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DUpgradeIndexMergePolicy.java30 * All other methods delegate to the base {@code MergePolicy} given to the constructor.
53 protected final MergePolicy base; field in class:UpgradeIndexMergePolicy
57 public UpgradeIndexMergePolicy(MergePolicy base) { argument
58 this.base = base;
73 base.setIndexWriter(writer);
78 return base.findMerges(segmentInfos);
97 MergeSpecification spec = base.findForcedMerges(segmentInfos, maxSegmentCount, oldSegments);
110 message("findForcedMerges: " + base.getClass().getSimpleName() +
130 return base
[all...]
H A DSegmentMergeQueue.java32 return stiA.base < stiB.base;
H A DCompoundFileReader.java239 IndexInput base; field in class:CompoundFileReader.CSIndexInput
243 CSIndexInput(final IndexInput base, final long fileOffset, final long length) { argument
244 this(base, fileOffset, length, BufferedIndexInput.BUFFER_SIZE);
247 CSIndexInput(final IndexInput base, final long fileOffset, final long length, int readBufferSize) { argument
249 this.base = (IndexInput)base.clone();
257 clone.base = (IndexInput)base.clone();
273 throw new EOFException("read past EOF: " + base);
274 base
[all...]
H A DSegmentMergeInfo.java26 int base; field in class:SegmentMergeInfo
37 base = b;
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DDiff.java235 final char base = 'a' - 1;
236 char deletes = base;
237 char equals = base;
241 if (equals != base) {
243 equals = base;
250 if (deletes != base) {
252 deletes = base;
254 if (equals != base) {
256 equals = base;
263 if (deletes != base) {
[all...]
/lucene-3.6.0/solr/client/ruby/flare/vendor/plugins/engines/lib/engines/rails_extensions/
H A Dmigrations.rb130 def self.included(base) # :nodoc:
131 base.class_eval { alias_method_chain :initialize_schema_information, :engine_additions }
H A Dtemplates.rb28 def self.included(base) #:nodoc:
29 base.class_eval { alias_method_chain :full_template_path, :engine_additions }
69 def self.included(base) #:nodoc:
70 base.class_eval { alias_method_chain :layout_list, :engine_additions }
86 # where all templates for rendering must exist under the single base path. This is difficult to
98 def self.included(base) #:nodoc:
99 base.class_eval do
H A Ddependencies.rb71 def self.included(base) #:nodoc:
72 base.class_eval { alias_method_chain :require_or_load, :engine_additions }
H A Drails_initializer.rb24 def self.included(base) #:nodoc:
25 base.class_eval do
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DReaderUtil.java77 private int run(int base, IndexReader reader) throws IOException { argument
81 add(base, reader);
82 base += reader.maxDoc();
86 base = run(base, subReaders[i]);
90 return base;
93 protected abstract void add(int base, IndexReader r) throws IOException; argument
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/misc/
H A DSweetSpotSimilarity.java76 public void setBaselineTfFactors(float base, float min) { argument
78 tf_base = base;
86 * @param base the base value to be used in the exponential for the hyperbolic function (default: 1.3)
91 double base, float xoffset) {
94 tf_hyper_base = base;
213 * (x &lt;= min) &#63; base : sqrt(x+(base**2)-min)
217 * This degrates to <code>sqrt(x)</code> when min and base are both 0
236 * tf(x)=min+(max-min)/2*(((base**(
90 setHyperbolicTfFactors(float min, float max, double base, float xoffset) argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DCachingCollector.java59 public final int base; field in class:CachingCollector.SegStart
62 public SegStart(IndexReader reader, int base, int end) { argument
64 this.base = base;
136 base += upto;
144 if (base + nextLength > maxDocsToCache) {
146 nextLength = maxDocsToCache - base;
184 other.setNextReader(seg.reader, seg.base);
210 return "CachingCollector (" + (base+upto) + " docs & scores cached)";
240 base
324 protected int base; field in class:CachingCollector
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DDocSetCollector.java36 int base; field in class:DocSetCollector
51 doc += base;
88 this.base = docBase;
H A DDocSetBase.java29 /** A base class that may be usefull for implementing DocSets */
69 * Inefficient base implementation.
139 final int base = offset;
141 final int max = base + maxDoc; // one past the max doc in this segment.
147 int pos=base-1;
158 return adjustedDoc = (pos>=0 && pos<max) ? pos-base : NO_MORE_DOCS;
164 pos = bs.nextSetBit(target+base);
165 return adjustedDoc = (pos>=0 && pos<max) ? pos-base : NO_MORE_DOCS;
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/utils/
H A DExtractWikipedia.java56 int base = BASE;
57 while (base <= count) {
58 base *= BASE;
63 directory = new File(directory, (Integer.toString(base / BASE)));
64 directory = new File(directory, (Integer.toString(count / (base / BASE))));
65 return directory(count % (base / BASE), directory);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestSetNorm.java67 private int base = 0;
75 scores[doc + base] = scorer.score();
79 base = docBase;
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestSetNorm.java67 private int base = 0;
75 scores[doc + base] = scorer.score();
79 base = docBase;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/response/
H A DRawResponseWriter.java39 * "base" QueryResponseWriter will be used to write the response
40 * according to the usual contract. The name of the "base" writer can
59 Object base = n.get( "base" );
60 if( base != null ) {
61 _baseWriter = base.toString();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DCSVRequestHandler.java131 private final CSVLoader.FieldAdder base; field in class:CSVLoader.FieldTrimmer
132 FieldTrimmer(CSVLoader.FieldAdder base) { this.base=base; } argument
135 base.add(doc, line, column, val.trim());
146 private final CSVLoader.FieldAdder base; field in class:CSVLoader.FieldMapperSingle
147 FieldMapperSingle(String from, String to, CSVLoader.FieldAdder base) { argument
150 this.base=base;
155 base
164 private final CSVLoader.FieldAdder base; field in class:CSVLoader.FieldSplitter
165 FieldSplitter(CSVStrategy strategy, CSVLoader.FieldAdder base) argument
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/junitcompat/
H A DTestJUnitRuleOrder.java61 public Statement apply(final Statement base, Description description) {
65 base.evaluate();

Completed in 222 milliseconds

1234