/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | LimitTokenCountAnalyzer.java | 30 private final Analyzer delegate; field in class:LimitTokenCountAnalyzer 36 public LimitTokenCountAnalyzer(Analyzer delegate, int maxTokenCount) { argument 37 this.delegate = delegate; 44 delegate.tokenStream(fieldName, reader), maxTokenCount 51 delegate.reusableTokenStream(fieldName, reader), maxTokenCount 57 return delegate.getPositionIncrementGap(fieldName); 62 return delegate.getOffsetGap(field); 67 return "LimitTokenCountAnalyzer(" + delegate.toString() + ", maxTokenCount=" + maxTokenCount + ")";
|
H A D | Token.java | 613 * and for all other attributes calls the given delegate factory. 618 private final AttributeSource.AttributeFactory delegate; field in class:Token.TokenAttributeFactory 621 * and for all other attributes calls the given delegate factory. */ 622 public TokenAttributeFactory(AttributeSource.AttributeFactory delegate) { argument 623 this.delegate = delegate; 629 ? new Token() : delegate.createAttributeInstance(attClass); 637 return this.delegate.equals(af.delegate); 644 return delegate [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/ |
H A D | MockLockFactoryWrapper.java | 28 LockFactory delegate; field in class:MockLockFactoryWrapper 30 public MockLockFactoryWrapper(MockDirectoryWrapper dir, LockFactory delegate) { argument 32 this.delegate = delegate; 37 delegate.setLockPrefix(lockPrefix); 42 return delegate.getLockPrefix(); 47 return new MockLock(delegate.makeLock(lockName), lockName); 52 delegate.clearLock(lockName); 58 return "MockLockFactoryWrapper(" + delegate.toString() + ")"; 65 MockLock(Lock delegate, Strin argument [all...] |
H A D | MockIndexOutputWrapper.java | 33 private final IndexOutput delegate; field in class:MockIndexOutputWrapper 40 public MockIndexOutputWrapper(MockDirectoryWrapper dir, IndexOutput delegate, String name) { argument 43 this.delegate = delegate; 51 delegate.close(); 67 delegate.flush(); 97 delegate.writeBytes(b, offset, (int) freeSpace); 102 String message = "fake disk full at " + dir.getRecomputedActualSizeInBytes() + " bytes when writing " + name + " (file length=" + delegate.length(); 115 delegate.writeBytes(b, offset, half); 117 delegate [all...] |
H A D | MockIndexInputWrapper.java | 31 private IndexInput delegate; field in class:MockIndexInputWrapper 36 public MockIndexInputWrapper(MockDirectoryWrapper dir, String name, IndexInput delegate) { argument 37 super("MockIndexInputWrapper(name=" + name + " delegate=" + delegate + ")"); 40 this.delegate = delegate; 51 delegate.close(); 71 IndexInput iiclone = (IndexInput) delegate.clone(); 94 return delegate.getFilePointer(); 100 delegate [all...] |
H A D | MockDirectoryWrapper.java | 61 final Directory delegate; field in class:MockDirectoryWrapper 108 public MockDirectoryWrapper(Random random, Directory delegate) { argument 109 this.delegate = delegate; 118 setLockFactory(new MockLockFactoryWrapper(this, delegate.getLockFactory())); 147 delegate.sync(name); 170 if (LuceneTestCase.rarely(randomState) || delegate instanceof NRTCachingDirectory) { 172 delegate.sync(names); 182 return "MockDirWrapper(" + delegate + ")"; 186 if (delegate instanceo [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | ThreadedEntityProcessorWrapper.java | 47 public ThreadedEntityProcessorWrapper(EntityProcessor delegate, DocBuilder docBuilder, argument 52 super(delegate, docBuilder);
|
H A D | EntityProcessorWrapper.java | 41 EntityProcessor delegate; field in class:EntityProcessorWrapper 53 public EntityProcessorWrapper(EntityProcessor delegate, DocBuilder docBuilder) { argument 54 this.delegate = delegate; 71 delegate.init(context); 269 * the linked children rows (page) is pulled under lock obtained on delegate EntityProcessor 284 synchronized (delegate) { 289 if(((EntityProcessorBase) delegate).context==null || retrieveWholePage){ 290 delegate.init(context); 309 delegate [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/ |
H A D | MockLockFactoryWrapper.java | 24 LockFactory delegate; field in class:MockLockFactoryWrapper 26 public MockLockFactoryWrapper(MockDirectoryWrapper dir, LockFactory delegate) { argument 28 this.delegate = delegate; 33 delegate.setLockPrefix(lockPrefix); 38 return delegate.getLockPrefix(); 43 return new MockLock(delegate.makeLock(lockName), lockName); 48 delegate.clearLock(lockName); 54 return "MockLockFactoryWrapper(" + delegate.toString() + ")"; 61 MockLock(Lock delegate, Strin argument [all...] |
H A D | MockIndexOutputWrapper.java | 33 private final IndexOutput delegate; field in class:MockIndexOutputWrapper 40 public MockIndexOutputWrapper(MockDirectoryWrapper dir, IndexOutput delegate, String name) { argument 43 this.delegate = delegate; 51 delegate.close(); 67 delegate.flush(); 97 delegate.writeBytes(b, offset, (int) freeSpace); 102 String message = "fake disk full at " + dir.getRecomputedActualSizeInBytes() + " bytes when writing " + name + " (file length=" + delegate.length(); 115 delegate.writeBytes(b, offset, half); 117 delegate [all...] |
H A D | MockIndexInputWrapper.java | 31 private IndexInput delegate; field in class:MockIndexInputWrapper 36 public MockIndexInputWrapper(MockDirectoryWrapper dir, String name, IndexInput delegate) { argument 37 super("MockIndexInputWrapper(name=" + name + " delegate=" + delegate + ")"); 40 this.delegate = delegate; 51 delegate.close(); 71 IndexInput iiclone = (IndexInput) delegate.clone(); 94 return delegate.getFilePointer(); 100 delegate [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | DelegatingCollector.java | 28 /** A simple delegating collector where one can set the delegate after creation */ 32 protected Collector delegate; field in class:DelegatingCollector 38 return delegate; 41 public void setDelegate(Collector delegate) { argument 42 this.delegate = delegate; 45 /** Sets the last delegate in a chain of DelegatingCollectors */ 46 public void setLastDelegate(Collector delegate) { argument 49 ptr.setDelegate(delegate); 56 delegate [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/collector/ |
H A D | FilterCollector.java | 35 private final Collector delegate; field in class:FilterCollector 39 public FilterCollector(DocSet filter, Collector delegate) throws IOException { argument 41 this.delegate = delegate; 45 delegate.setScorer(scorer); 51 delegate.collect(doc); 57 delegate.setNextReader(indexReader, docBase); 61 return delegate.acceptsDocsOutOfOrder(); 69 * Returns the delegate collector 71 * @return the delegate collecto [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/ |
H A D | SpanMultiTermQueryWrapper.java | 177 private final ScoringRewrite<SpanOrQuery> delegate = new ScoringRewrite<SpanOrQuery>() { 193 return delegate.rewrite(reader, query); 214 private final TopTermsRewrite<SpanOrQuery> delegate; field in class:SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite 221 delegate = new TopTermsRewrite<SpanOrQuery>(size) { 243 return delegate.getSize(); 248 return delegate.rewrite(reader, query); 253 return 31 * delegate.hashCode(); 262 return delegate.equals(other.delegate);
|
/lucene-3.6.0/solr/contrib/clustering/src/java/org/apache/solr/handler/clustering/carrot2/ |
H A D | LuceneCarrot2StemmerFactory.java | 177 private final org.apache.lucene.analysis.ar.ArabicStemmer delegate; field in class:LuceneCarrot2StemmerFactory.ArabicStemmerFactory.LuceneStemmerAdapter 183 delegate = new org.apache.lucene.analysis.ar.ArabicStemmer(); 197 newLen = delegate.stem(buffer, newLen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/query/ |
H A D | QueryAutoStopWordAnalyzer.java | 49 private final Analyzer delegate; field in class:QueryAutoStopWordAnalyzer 59 * @param delegate The choice of {@link Analyzer} that is used to produce the token stream which needs filtering 63 public QueryAutoStopWordAnalyzer(Version matchVersion, Analyzer delegate) { argument 64 this.delegate = delegate; 74 * @param delegate Analyzer whose TokenStream will be filtered 80 Analyzer delegate, 82 this(matchVersion, delegate, indexReader, defaultMaxDocFreqPercent); 91 * @param delegate Analyzer whose TokenStream will be filtered 98 Analyzer delegate, 78 QueryAutoStopWordAnalyzer( Version matchVersion, Analyzer delegate, IndexReader indexReader) argument 96 QueryAutoStopWordAnalyzer( Version matchVersion, Analyzer delegate, IndexReader indexReader, int maxDocFreq) argument 116 QueryAutoStopWordAnalyzer( Version matchVersion, Analyzer delegate, IndexReader indexReader, float maxPercentDocs) argument 137 QueryAutoStopWordAnalyzer( Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, float maxPercentDocs) argument 158 QueryAutoStopWordAnalyzer( Version matchVersion, Analyzer delegate, IndexReader indexReader, Collection<String> fields, int maxDocFreq) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | NRTCachingDirectory.java | 40 * around any provided delegate directory, to 86 private final Directory delegate; field in class:NRTCachingDirectory 98 public NRTCachingDirectory(Directory delegate, double maxMergeSizeMB, double maxCachedMB) { argument 99 this.delegate = delegate; 106 return delegate.getLockFactory(); 111 delegate.setLockFactory(lf); 116 return delegate.getLockID(); 121 return delegate.makeLock(name); 126 delegate [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestLazyProxSkipping.java | 49 public SeekCountingDirectory(Directory delegate) { argument 50 super(random, delegate);
|
H A D | TestFieldsReader.java | 449 IndexInput delegate; field in class:TestFieldsReader.FaultyIndexInput 452 private FaultyIndexInput(IndexInput delegate) { argument 453 super("FaultyIndexInput(" + delegate + ")", BufferedIndexInput.BUFFER_SIZE); 454 this.delegate = delegate; 464 delegate.readBytes(b, offset, length); 469 delegate.seek(pos); 473 return delegate.length(); 477 delegate.close(); 481 return new FaultyIndexInput((IndexInput) delegate [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/ |
H A D | ThrottledIndexOutput.java | 30 private IndexOutput delegate; field in class:ThrottledIndexOutput 45 IndexOutput delegate) { 47 DEFAULT_MIN_WRITTEN_BYTES, delegate); 51 int minBytesWritten, IndexOutput delegate) { 52 this(bytesPerSecond, delays, delays, delays, minBytesWritten, delegate); 61 IndexOutput delegate) { 63 this.delegate = delegate; 74 delegate.flush(); 82 delegate 44 ThrottledIndexOutput(int bytesPerSecond, long delayInMillis, IndexOutput delegate) argument 50 ThrottledIndexOutput(int bytesPerSecond, long delays, int minBytesWritten, IndexOutput delegate) argument 59 ThrottledIndexOutput(int bytesPerSecond, long flushDelayMillis, long closeDelayMillis, long seekDelayMillis, long minBytesWritten, IndexOutput delegate) argument [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestLazyProxSkipping.java | 49 public SeekCountingDirectory(Directory delegate) { argument 50 super(random, delegate);
|
H A D | TestFieldsReader.java | 444 IndexInput delegate; field in class:TestFieldsReader.FaultyIndexInput 447 private FaultyIndexInput(IndexInput delegate) { argument 448 super("FaultyIndexInput(" + delegate + ")", BufferedIndexInput.BUFFER_SIZE); 449 this.delegate = delegate; 459 delegate.readBytes(b, offset, length); 464 delegate.seek(pos); 468 return delegate.length(); 472 delegate.close(); 476 return new FaultyIndexInput((IndexInput) delegate [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/ |
H A D | ThrottledIndexOutput.java | 27 private IndexOutput delegate; field in class:ThrottledIndexOutput 42 IndexOutput delegate) { 44 DEFAULT_MIN_WRITTEN_BYTES, delegate); 48 int minBytesWritten, IndexOutput delegate) { 49 this(bytesPerSecond, delays, delays, delays, minBytesWritten, delegate); 58 IndexOutput delegate) { 60 this.delegate = delegate; 71 delegate.flush(); 79 delegate 41 ThrottledIndexOutput(int bytesPerSecond, long delayInMillis, IndexOutput delegate) argument 47 ThrottledIndexOutput(int bytesPerSecond, long delays, int minBytesWritten, IndexOutput delegate) argument 56 ThrottledIndexOutput(int bytesPerSecond, long flushDelayMillis, long closeDelayMillis, long seekDelayMillis, long minBytesWritten, IndexOutput delegate) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | IndexDeletionPolicyWrapper.java | 144 IndexCommit delegate; field in class:IndexDeletionPolicyWrapper.IndexCommitWrapper 147 IndexCommitWrapper(IndexCommit delegate) { argument 148 this.delegate = delegate; 153 return delegate.getSegmentsFileName(); 158 return delegate.getFileNames(); 163 return delegate.getDirectory(); 168 Long version = delegate.getVersion(); 172 delegate.delete(); 177 return delegate [all...] |
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | AbstractDataImportHandlerTestCase.java | 140 final Context delegate = new ContextImpl(parentEntity, resolver, 143 return new TestContext(entityAttrs, delegate, entityFields, parentEntity == null); 188 private final Context delegate; field in class:AbstractDataImportHandlerTestCase.TestContext 193 public TestContext(Map<String, String> entityAttrs, Context delegate, argument 196 this.delegate = delegate; 203 return entityAttrs == null ? delegate.getEntityAttribute(name) : entityAttrs.get(name); 208 return entityAttrs == null ? delegate.getResolvedEntityAttribute(name) : 209 delegate.getVariableResolver().replaceTokens(entityAttrs.get(name)); 214 return entityFields == null ? delegate [all...] |