Searched refs:fieldSelector (Results 1 - 24 of 24) sorted by relevance

/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DSearchTravRetLoadFieldSelectorTask.java44 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 DRemoteSearchable.java86 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 DSearchable.java125 * @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 DMultiSearcher.java110 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 DSearcher.java206 abstract public Document doc(int docid, FieldSelector fieldSelector) throws CorruptIndexException, IOException; argument
H A DIndexSearcher.java261 /* 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 DTestFieldsReader.java127 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 DTestFieldsReader.java126 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 DPruningReader.java88 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 DFilterIndexReader.java184 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument
186 return in.document(n, fieldSelector);
H A DParallelReader.java297 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 DFieldsReader.java229 final Document doc(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument
239 FieldSelectorResult acceptField = fieldSelector == null ? FieldSelectorResult.LOAD : fieldSelector.accept(fi.name);
H A DMultiReader.java249 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 DSegmentReader.java487 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument
492 return getFieldsReader().doc(n, fieldSelector);
H A DDirectoryReader.java565 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 DIndexReader.java1159 * @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 DIndexSorter.java204 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 DSolrIndexReader.java258 public Document document(int n, FieldSelector fieldSelector) throws CorruptIndexException, IOException { argument
259 return in.document(n, fieldSelector);
H A DSolrIndexSearcher.java444 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 DTermVectorComponent.java197 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 DInstantiatedIndexReader.java232 * @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 DJustCompileSearch.java144 public Document doc(int n, FieldSelector fieldSelector) argument
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DJustCompileSearch.java144 public Document doc(int n, FieldSelector fieldSelector) argument
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/
H A DMemoryIndex.java1129 public Document document(int n, FieldSelector fieldSelector) throws IOException { argument

Completed in 7299 milliseconds