@Override public Bits getDocsWithField(FieldInfo field) throws IOException { return delegate.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { return delegate.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { return in.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { return in.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { return delegate.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { DocValuesProducer producer = fields.get(field.name); return producer == null ? null : producer.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { DocValuesProducer dvProducer = dvProducersByField.get(field.name); assert dvProducer != null; return dvProducer.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { DocValuesProducer dvProducer = dvProducersByField.get(field.name); assert dvProducer != null; return dvProducer.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { DocValuesProducer producer = fields.get(field.name); return producer == null ? null : producer.getDocsWithField(field); }
@Override public Bits getDocsWithField(FieldInfo field) throws IOException { if (VersionFieldMapper.NAME.equals(field.name)) { return new Bits.MatchAllBits(reader.maxDoc()); } else { return in.getDocsWithField(field); } }
@Override public Bits getDocsWithField(String field) throws IOException { ensureOpen(); FieldInfo fi = getFieldInfos().fieldInfo(field); if (fi == null) { // Field does not exist return null; } if (fi.getDocValuesType() == DocValuesType.NONE) { // Field was not indexed with doc values return null; } return docValues.getDocsWithField(fi); }
@Override public Bits getDocsWithField(String field) throws IOException { ensureOpen(); FieldInfo fi = getFieldInfos().fieldInfo(field); if (fi == null) { // Field does not exist return null; } if (fi.getDocValuesType() == DocValuesType.NONE) { // Field was not indexed with doc values return null; } return docValues.getDocsWithField(fi); }
@Override public final Bits getDocsWithField(String field) throws IOException { ensureOpen(); Map<String,Bits> dvFields = docsWithFieldLocal.get(); Bits previous = dvFields.get(field); if (previous != null) { return previous; } else { FieldInfo fi = getFieldInfos().fieldInfo(field); if (fi == null) { // Field does not exist return null; } if (fi.getDocValuesType() == DocValuesType.NONE) { // Field was not indexed with doc values return null; } Bits dv = getDocValuesReader().getDocsWithField(fi); dvFields.put(field, dv); return dv; } }
@Override public final Bits getDocsWithField(String field) throws IOException { ensureOpen(); Map<String,Bits> dvFields = docsWithFieldLocal.get(); Bits previous = dvFields.get(field); if (previous != null) { return previous; } else { FieldInfo fi = getFieldInfos().fieldInfo(field); if (fi == null) { // Field does not exist return null; } if (fi.getDocValuesType() == DocValuesType.NONE) { // Field was not indexed with doc values return null; } Bits dv = getDocValuesReader().getDocsWithField(fi); dvFields.put(field, dv); return dv; } }
if (fieldInfo != null && fieldInfo.getDocValuesType() == DocValuesType.NUMERIC) { values = docValuesProducer.getNumeric(fieldInfo); bits = docValuesProducer.getDocsWithField(fieldInfo); if (fieldInfo != null && fieldInfo.getDocValuesType() == DocValuesType.BINARY) { values = docValuesProducer.getBinary(fieldInfo); bits = docValuesProducer.getDocsWithField(fieldInfo);
private static void checkDocValues(FieldInfo fi, DocValuesProducer dvReader, int maxDoc, PrintStream infoStream, DocValuesStatus status) throws Exception { Bits docsWithField = dvReader.getDocsWithField(fi); if (docsWithField == null) { throw new RuntimeException(fi.name + " docsWithField does not exist");
private static void checkDocValues(FieldInfo fi, DocValuesProducer dvReader, int maxDoc, PrintStream infoStream, DocValuesStatus status) throws Exception { Bits docsWithField = dvReader.getDocsWithField(fi); if (docsWithField == null) { throw new RuntimeException(fi.name + " docsWithField does not exist");
if (fieldInfo != null && fieldInfo.getDocValuesType() == DocValuesType.NUMERIC) { values = docValuesProducer.getNumeric(fieldInfo); bits = docValuesProducer.getDocsWithField(fieldInfo); if (fieldInfo != null && fieldInfo.getDocValuesType() == DocValuesType.BINARY) { values = docValuesProducer.getBinary(fieldInfo); bits = docValuesProducer.getDocsWithField(fieldInfo);