/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | Filter.java | 39 * the top-level reader. 41 * @param reader a {@link IndexReader} instance opened on the index currently 42 * searched on. Note, it is likely that the provided reader does not 44 * one segment the given reader only represents a single segment. 52 public abstract DocIdSet getDocIdSet(IndexReader reader) throws IOException; argument
|
H A D | SearcherFactory.java | 52 * Returns a new IndexSearcher over the given reader. 54 public IndexSearcher newSearcher(IndexReader reader) throws IOException { argument 55 return new IndexSearcher(reader);
|
H A D | SpanFilter.java | 33 * @param reader The {@link org.apache.lucene.index.IndexReader} to load position and DocIdSet information from 37 public abstract SpanFilterResult bitSpans(IndexReader reader) throws IOException; argument
|
H A D | FieldCacheDocIdSet.java | 34 protected final IndexReader reader; field in class:FieldCacheDocIdSet 36 public FieldCacheDocIdSet(IndexReader reader) { argument 37 this.reader = reader; 48 return !reader.hasDeletions(); 53 if (!reader.hasDeletions()) { 55 final int maxDoc = reader.maxDoc(); 87 final TermDocs termDocs = reader.termDocs(null);
|
H A D | FieldCacheTermsFilter.java | 57 * reader per segment). Then, during matching, the term 110 public DocIdSet getDocIdSet(IndexReader reader) throws IOException { argument 111 final FieldCache.StringIndex fcsi = getFieldCache().getStringIndex(reader, field); 119 return new FieldCacheDocIdSet(reader) {
|
H A D | ScoringRewrite.java | 72 public Query rewrite(IndexReader reader, MultiTermQuery query) throws IOException { 73 final BooleanQuery bq = SCORING_BOOLEAN_QUERY_REWRITE.rewrite(reader, query); 90 public Q rewrite(final IndexReader reader, final MultiTermQuery query) throws IOException { argument 93 collectTerms(reader, query, new TermCollector() {
|
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedAllTermDocs.java | 24 private InstantiatedIndexReader reader; field in class:InstantiatedAllTermDocs 26 InstantiatedAllTermDocs(InstantiatedIndexReader reader) { argument 27 super(reader.maxDoc()); 28 this.reader = reader; 33 return reader.isDeleted(doc);
|
/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/ |
H A D | RawTermFilter.java | 49 public DocIdSet getDocIdSet(final IndexReader reader) throws IOException { argument 50 if (!(reader instanceof SegmentReader)) { 51 throw new IllegalArgumentException("this filter can only work with SegmentReaders (got: " + reader + ")"); 54 final SegmentReader segReader = (SegmentReader) reader;
|
/lucene-3.6.0/lucene/contrib/remote/src/java/org/apache/lucene/search/ |
H A D | RemoteCachingWrapperFilter.java | 53 * @param reader the index reader for the Filter 57 public DocIdSet getDocIdSet(IndexReader reader) throws IOException { argument 59 return cachedFilter.getDocIdSet(reader);
|
/lucene-3.6.0/lucene/contrib/remote/src/test/org/apache/lucene/search/ |
H A D | RemoteCachingWrapperFilterHelper.java | 44 public DocIdSet getDocIdSet(IndexReader reader) throws IOException { argument 57 return cachedFilter.getDocIdSet(reader);
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/tier/ |
H A D | CartesianShapeFilter.java | 47 public DocIdSet getDocIdSet(final IndexReader reader) throws IOException { argument 48 final FixedBitSet bits = new FixedBitSet(reader.maxDoc()); 49 final TermDocs termDocs = reader.termDocs();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | KeywordAnalyzer.java | 31 protected TokenStreamComponents createComponents(final String fieldName, final Reader reader) { argument 32 return new TokenStreamComponents(new KeywordTokenizer(reader));
|
H A D | SimpleAnalyzer.java | 57 final Reader reader) { 58 return new TokenStreamComponents(new LowerCaseTokenizer(matchVersion, reader)); 56 createComponents(final String fieldName, final Reader reader) argument
|
H A D | WhitespaceAnalyzer.java | 59 final Reader reader) { 60 return new TokenStreamComponents(new WhitespaceTokenizer(matchVersion, reader)); 58 createComponents(final String fieldName, final Reader reader) argument
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | MockFilter.java | 28 public DocIdSet getDocIdSet(IndexReader reader) { argument
|
H A D | SingleDocTestFilter.java | 34 public DocIdSet getDocIdSet(IndexReader reader) throws IOException { argument 35 BitSet bits = new BitSet(reader.maxDoc());
|
H A D | TestCachingSpanFilter.java | 48 // flipping a coin) may give us a newly opened reader, 49 // but we use .reopen on this reader below and expect to 50 // (must) get an NRT reader: 51 IndexReader reader = IndexReader.open(writer.w, true); 53 IndexSearcher searcher = newSearcher(reader, false); 55 // add a doc, refresh the reader, and check that its there 60 reader = refreshReader(reader); 62 searcher = newSearcher(reader, false); 78 // now delete the doc, refresh the reader, an 150 refreshReader(IndexReader reader) argument [all...] |
H A D | TestNGramPhraseQuery.java | 30 private static IndexReader reader; field in class:TestNGramPhraseQuery 38 reader = IndexReader.open(directory); 43 reader.close(); 44 reader = null; 55 Query q = pq1.rewrite(reader); 68 q = pq2.rewrite(reader); 84 q = pq3.rewrite(reader);
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | SlowMultiReaderWrapper.java | 30 public SlowMultiReaderWrapper(IndexReader reader) { argument 31 super(subReaders(reader)); 34 private static IndexReader[] subReaders(IndexReader reader) { argument 36 ReaderUtil.gatherSubReaders(list, reader);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | MockFilter.java | 28 public DocIdSet getDocIdSet(IndexReader reader) { argument
|
H A D | SingleDocTestFilter.java | 34 public DocIdSet getDocIdSet(IndexReader reader) throws IOException { argument 35 BitSet bits = new BitSet(reader.maxDoc());
|
H A D | TestCachingSpanFilter.java | 48 // flipping a coin) may give us a newly opened reader, 49 // but we use .reopen on this reader below and expect to 50 // (must) get an NRT reader: 51 IndexReader reader = IndexReader.open(writer.w, true); 53 IndexSearcher searcher = newSearcher(reader, false); 55 // add a doc, refresh the reader, and check that its there 60 reader = refreshReader(reader); 62 searcher = newSearcher(reader, false); 78 // now delete the doc, refresh the reader, an 150 refreshReader(IndexReader reader) argument [all...] |
H A D | TestNGramPhraseQuery.java | 30 private static IndexReader reader; field in class:TestNGramPhraseQuery 38 reader = IndexReader.open(directory); 43 reader.close(); 44 reader = null; 55 Query q = pq1.rewrite(reader); 68 q = pq2.rewrite(reader); 84 q = pq3.rewrite(reader);
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | SlowMultiReaderWrapper.java | 30 public SlowMultiReaderWrapper(IndexReader reader) { argument 31 super(subReaders(reader)); 34 private static IndexReader[] subReaders(IndexReader reader) { argument 36 ReaderUtil.gatherSubReaders(list, reader);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cn/ |
H A D | ChineseAnalyzer.java | 47 Reader reader) { 48 final Tokenizer source = new ChineseTokenizer(reader); 46 createComponents(String fieldName, Reader reader) argument
|