Always ask for extended coverage.
@@ -201,6 +201,7 @@ public class QueryPacket extends Packet {
/**
* query flag bits, taken from searchlib/common/transport.h
**/
+ static final int QFLAG_EXTENDED_COVERAGE = 0x00000001;
static final int QFLAG_ESTIMATE = 0x00000080;
static final int QFLAG_DROP_SORTDATA = 0x00004000;
static final int QFLAG_NO_RESULTCACHE = 0x00010000;
@@ -234,7 +235,7 @@ public class QueryPacket extends Packet {
}
static int getQueryFlags(Query query) {
- int flags = 0;
+ int flags = QFLAG_EXTENDED_COVERAGE;
flags |= query.properties().getBoolean(com.yahoo.search.query.Model.ESTIMATE) ? QFLAG_ESTIMATE : 0;
flags |= query.getNoCache() ? QFLAG_NO_RESULTCACHE : 0;
