Query makeEquals(Rectangle bbox){
  Query qMinX=makeNumberTermQuery(field_minX,bbox.getMinX());
  Query qMinY=makeNumberTermQuery(field_minY,bbox.getMinY());
  Query qMaxX=makeNumberTermQuery(field_maxX,bbox.getMaxX());
  Query qMaxY=makeNumberTermQuery(field_maxY,bbox.getMaxY());
  return makeQuery(BooleanClause.Occur.MUST,qMinX,qMinY,qMaxX,qMaxY);
}

Query makeEquals ( Rectangle bbox ) { Query qMinX = makeNumberTermQuery ( field_minX , bbox . getMinX ( ) ) ; Query qMinY = makeNumberTermQuery ( field_minY , bbox . getMinY ( ) ) ; Query qMaxX = makeNumberTermQuery ( field_maxX , bbox . getMaxX ( ) ) ; Query qMaxY = makeNumberTermQuery ( field_maxY , bbox . getMaxY ( ) ) ; return makeQuery ( BooleanClause . Occur . MUST , qMinX , qMinY , qMaxX , qMaxY ) ; }
constructs a query to retrieve documents that equal the input envelope .
