/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | SearchTravRetLoadFieldSelectorTask.java | 44 protected FieldSelector fieldSelector; field in class:SearchTravRetLoadFieldSelectorTask 58 return ir.document(id, fieldSelector); 69 fieldSelector = new SetBasedFieldSelector(fieldsToLoad, Collections.<String> emptySet());
|
/lucene-3.6.0/lucene/contrib/remote/src/java/org/apache/lucene/search/ |
H A D | RemoteSearchable.java | 86 public Document doc(int i, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 87 return local.doc(i, fieldSelector);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | Searchable.java | 125 * @param fieldSelector The {@link org.apache.lucene.document.FieldSelector} to use to determine what Fields should be loaded on the Document. May be null, in which case all Fields will be loaded. 136 Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException; argument
|
H A D | MultiSearcher.java | 110 public Document doc(int i, FieldSelector fieldSelector) { argument 184 public Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 186 return searchables[i].doc(n - starts[i], fieldSelector); // dispatch to searcher
|
H A D | Searcher.java | 206 abstract public Document doc(int docid, FieldSelector fieldSelector) throws CorruptIndexException, IOException; argument
|
H A D | IndexSearcher.java | 261 /* Sugar for .getIndexReader().document(docID, fieldSelector) */ 263 public Document doc(int docID, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 264 return reader.document(docID, fieldSelector);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestFieldsReader.java | 127 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames); 128 Document doc = reader.doc(0, fieldSelector); 182 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames) { 194 Document doc = reader.doc(0, fieldSelector); 252 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames); 253 Document doc = reader.doc(0, fieldSelector); 272 LoadFirstFieldSelector fieldSelector = new LoadFirstFieldSelector(); 273 Document doc = reader.doc(0, fieldSelector); 315 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(Collections. <String> emptySet(), lazyFieldNames); 342 doc = reader.doc(0, fieldSelector); [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestFieldsReader.java | 126 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames); 127 Document doc = reader.doc(0, fieldSelector); 181 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames) { 193 Document doc = reader.doc(0, fieldSelector); 251 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(loadFieldNames, lazyFieldNames); 252 Document doc = reader.doc(0, fieldSelector); 271 LoadFirstFieldSelector fieldSelector = new LoadFirstFieldSelector(); 272 Document doc = reader.doc(0, fieldSelector); 314 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(Collections. <String> emptySet(), lazyFieldNames); 341 doc = reader.doc(0, fieldSelector); [all...] |
/lucene-3.6.0/lucene/contrib/pruning/src/java/org/apache/lucene/index/ |
H A D | PruningReader.java | 88 public Document document(final int n, FieldSelector fieldSelector) argument 95 return storePolicy.pruneDocument(n, fieldSelector); 97 return in.document(n, fieldSelector);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | FilterIndexReader.java | 184 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 186 return in.document(n, fieldSelector);
|
H A D | ParallelReader.java | 297 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 302 boolean include = (fieldSelector==null); 305 if (fieldSelector.accept(fieldInfo.name) != FieldSelectorResult.NO_LOAD) { 312 List<Fieldable> fields = reader.document(n, fieldSelector).getFields();
|
H A D | FieldsReader.java | 229 final Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 239 FieldSelectorResult acceptField = fieldSelector == null ? FieldSelectorResult.LOAD : fieldSelector.accept(fi.name);
|
H A D | MultiReader.java | 249 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 252 return subReaders[i].document(n - starts[i], fieldSelector); // dispatch to segment reader
|
H A D | SegmentReader.java | 487 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 492 return getFieldsReader().doc(n, fieldSelector);
|
H A D | DirectoryReader.java | 565 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 568 return subReaders[i].document(n - starts[i], fieldSelector); // dispatch to segment reader
|
H A D | IndexReader.java | 1159 * @param fieldSelector The {@link FieldSelector} to use to determine what 1172 public abstract Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException; argument
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | IndexSorter.java | 204 public Document document(int n, FieldSelector fieldSelector) argument 206 return super.document(newToOld[n], fieldSelector);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SolrIndexReader.java | 258 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument 259 return in.document(n, fieldSelector);
|
H A D | SolrIndexSearcher.java | 444 public Document doc(int n, FieldSelector fieldSelector) throws IOException { argument 445 return getIndexReader().document(n, fieldSelector);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | TermVectorComponent.java | 197 SetBasedFieldSelector fieldSelector = new SetBasedFieldSelector(Collections.singleton(uniqFieldName), Collections.<String>emptySet()); 207 Document document = reader.document(docId, fieldSelector);
|
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedIndexReader.java | 232 * @param fieldSelector ignored 243 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | JustCompileSearch.java | 144 public Document doc(int n, FieldSelector fieldSelector) argument
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | JustCompileSearch.java | 144 public Document doc(int n, FieldSelector fieldSelector) argument
|
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/ |
H A D | MemoryIndex.java | 1129 public Document document(int n, FieldSelector fieldSelector) throws IOException { argument
|